Use Microsoft.Extensions.Logging
with version 6.0.1
for target frameworks greater than netstandard2.0.
Use Microsoft.Extensions.Logging
with version 8.0.1
for target frameworks greater than netstandard2.0.
Bump NuGet deps versions
Revert adding VostokLoggerExtensions.CreateVostokMicrosoftLog
extension.
Added VostokLoggerExtensions.CreateVostokMicrosoftLog
extension to create Vostok log from ILoggerFactory.
Added net6.0
target.
Scopes can now be ignored by type name prefixes.
- Do not add event id properties by default (there's a setting for it now in VostokLoggerProviderSettings).
- Use PreciseDateTime.Now for log event timestamps.
- BeginScope: no allocations for ignored scopes.
MicrosoftLog
now preserves structed log properties.
Added MicrosoftLog
adapter.
Added MicrosoftLogScopes
constants.
Fixed multiple scopes logging.
Removed MinimumLevel
setting.
Added MinimumLevel
setting.
Create loggerFactory.AddVostok(log)
extension method
Added VostokLoggerProviderSettings
that allows to ignore some scopes.
Breaking change: BeginScope() method no longer adds a Scope
property to log events. Instead, it utilizes well-known operation context property.
Adapted to ForContext() in changes in abstractions module.
Downgrade version of Microsoft.Extensions.Logging.Abstractions
to 2.0.0
- Create
VostokLoggerProvider
- an implementation ofILoggerProvider
- Create
loggerFactory.AddVostok(log)
extension method - Support concurrent
ILogger.BeginScope()