GLogger 1.1.4

Google Stackdriver logging for MVC/WebAPI projects. Automatically logs OnActionExecuting and OnException.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package GLogger -Version 1.1.4
dotnet add package GLogger --version 1.1.4
<PackageReference Include="GLogger" Version="1.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GLogger --version 1.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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))]

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.1-beta 324 1/25/2019
1.1.4 6,566 4/9/2018
1.1.3 429 4/9/2018
1.1.2 511 4/9/2018
1.1.1 1,088 4/7/2018
1.1.0 654 4/7/2018
1.0.19 602 4/7/2018
1.0.18 605 4/6/2018
1.0.17 588 4/6/2018
1.0.16 468 4/6/2018
1.0.15 501 4/6/2018
1.0.14 500 4/6/2018
1.0.13 483 4/5/2018
1.0.11 1,067 1/10/2018
1.0.10 490 1/10/2018