GLogger 1.0.17
See the version list below for details.
dotnet add package GLogger --version 1.0.17
NuGet\Install-Package GLogger -Version 1.0.17
<PackageReference Include="GLogger" Version="1.0.17" />
paket add GLogger --version 1.0.17
#r "nuget: GLogger, 1.0.17"
// Install GLogger as a Cake Addin #addin nuget:?package=GLogger&version=1.0.17 // Install GLogger as a Cake Tool #tool nuget:?package=GLogger&version=1.0.17
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,772 | 4/9/2018 |
1.1.3 | 1,115 | 4/9/2018 |
1.1.2 | 1,233 | 4/9/2018 |
1.1.1 | 1,791 | 4/7/2018 |
1.1.0 | 1,336 | 4/7/2018 |
1.0.19 | 1,315 | 4/7/2018 |
1.0.18 | 1,320 | 4/6/2018 |
1.0.17 | 1,297 | 4/6/2018 |
1.0.16 | 1,166 | 4/6/2018 |
1.0.15 | 1,197 | 4/6/2018 |
1.0.14 | 1,219 | 4/6/2018 |
1.0.13 | 1,176 | 4/5/2018 |
1.0.11 | 1,795 | 1/10/2018 |
1.0.10 | 1,151 | 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))]