GLogger 1.1.1
See the version list below for details.
dotnet add package GLogger --version 1.1.1
NuGet\Install-Package GLogger -Version 1.1.1
<PackageReference Include="GLogger" Version="1.1.1" />
paket add GLogger --version 1.1.1
#r "nuget: GLogger, 1.1.1"
// Install GLogger as a Cake Addin #addin nuget:?package=GLogger&version=1.1.1 // Install GLogger as a Cake Tool #tool nuget:?package=GLogger&version=1.1.1
Google Stackdriver logging for MVC/WebAPI projects. Automatically logs OnActionExecuting and OnException.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- Google.Cloud.Logging.V2 (>= 2.0.0)
- Microsoft.AspNetCore.Mvc (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.1-beta | 697 | 1/25/2019 |
1.1.4 | 7,770 | 4/9/2018 |
1.1.3 | 1,113 | 4/9/2018 |
1.1.2 | 1,231 | 4/9/2018 |
1.1.1 | 1,789 | 4/7/2018 |
1.1.0 | 1,334 | 4/7/2018 |
1.0.19 | 1,313 | 4/7/2018 |
1.0.18 | 1,318 | 4/6/2018 |
1.0.17 | 1,295 | 4/6/2018 |
1.0.16 | 1,164 | 4/6/2018 |
1.0.15 | 1,195 | 4/6/2018 |
1.0.14 | 1,217 | 4/6/2018 |
1.0.13 | 1,174 | 4/5/2018 |
1.0.11 | 1,793 | 1/10/2018 |
1.0.10 | 1,149 | 1/10/2018 |
In startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddScoped<GLogger.ILogger>(p => new GLogger.Logger("Google-ProjectId", System.Reflection.Assembly.GetEntryAssembly().GetName().FullName.ToLower(), "MonitoredResourceName"));
services.AddScoped<GLogger.LoggingFilterAttribute>();
services.AddScoped<GLogger.GlobalExceptionAttribute>();
}
On Controller add attributes:
[ServiceFilter(typeof(GLogger.LoggingFilterAttribute))]
[ServiceFilter(typeof(GLogger.GlobalExceptionAttribute))]