RockLib.Logging.AspNetCore 2.0.0

Extensions to create hooks into Microsoft.Extensions.Logging

This package was built from the source code at https://github.com/RockLib/RockLib.Logging/tree/fef612fbff30d45114a3a49d5236fd2315847ce2

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

Release Notes

RockLib.Logging.AspNetCore version 2.0.0

- Updates `RockLib.Logging` library to version 2.0.0.
- Renames/flips the `bypassAspNetCoreLogging` parameter to `registerAspNetCoreLogger` in both `UseRockLibLogging` extension methods. The default value is `false`.
- Improvements to the `UseRockLibLogging` extension method that creates an `ILogger` from `LoggerFactory`:
 - The `ILogger` is registered as transient so that implementations of `IContextProvider` are created fresh for each instance of Logger. This will allow an implementation to be created that uses the current `HttpContext` (via `IHttpContextAccessor`) to add context to `LogEntry` objects.
 - Registers a `BackgroundLogProcessor` as a singleton `ILogProcessor` so that instances of `Logger` can share the same log processor.
 - Since the lifecycle of the `Logger` is short, don't create it as a reloading proxy.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.2 5,938 5/9/2019
2.0.1 109 5/7/2019
2.0.0 115 4/25/2019
2.0.0-alpha03 143 4/5/2019
2.0.0-alpha02 89 3/27/2019
2.0.0-alpha01 1,744 1/8/2019
1.0.1 2,418 7/31/2018
1.0.0 967 6/19/2018
1.0.0-alpha04 237 6/8/2018
1.0.0-alpha03 187 6/6/2018
1.0.0-alpha02 337 5/30/2018
1.0.0-alpha01 182 5/25/2018