GLogger 1.0.18
See the version list below for details.
dotnet add package GLogger --version 1.0.18
NuGet\Install-Package GLogger -Version 1.0.18
<PackageReference Include="GLogger" Version="1.0.18" />
paket add GLogger --version 1.0.18
#r "nuget: GLogger, 1.0.18"
// Install GLogger as a Cake Addin #addin nuget:?package=GLogger&version=1.0.18 // Install GLogger as a Cake Tool #tool nuget:?package=GLogger&version=1.0.18
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 | 694 | 1/25/2019 |
1.1.4 | 7,767 | 4/9/2018 |
1.1.3 | 1,108 | 4/9/2018 |
1.1.2 | 1,228 | 4/9/2018 |
1.1.1 | 1,786 | 4/7/2018 |
1.1.0 | 1,331 | 4/7/2018 |
1.0.19 | 1,310 | 4/7/2018 |
1.0.18 | 1,315 | 4/6/2018 |
1.0.17 | 1,292 | 4/6/2018 |
1.0.16 | 1,161 | 4/6/2018 |
1.0.15 | 1,192 | 4/6/2018 |
1.0.14 | 1,214 | 4/6/2018 |
1.0.13 | 1,171 | 4/5/2018 |
1.0.11 | 1,790 | 1/10/2018 |
1.0.10 | 1,146 | 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))]