RockLib.Logging.AspNetCore 2.0.0

Extensions to create hooks into Microsoft.Extensions.Logging

This package was built from the source code at

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 64,035 5/9/2019
2.0.1 159 5/7/2019
2.0.0 177 4/25/2019
2.0.0-alpha03 192 4/5/2019
2.0.0-alpha02 143 3/27/2019
2.0.0-alpha01 2,645 1/8/2019
1.0.1 2,923 7/31/2018
1.0.0 1,062 6/19/2018
1.0.0-alpha04 309 6/8/2018
1.0.0-alpha03 268 6/6/2018
1.0.0-alpha02 408 5/30/2018
1.0.0-alpha01 259 5/25/2018