Serilog.Extensions.Logging
Converts between Serilog and Microsoft.Extensions.Logging level enum values.
Convert to the equivalent Serilog .
A Microsoft.Extensions.Logging .
The Serilog equivalent of .
The value has no Serilog equivalent. It is mapped to
as the closest approximation, but this has entirely
different semantics.
Convert to the equivalent Microsoft.Extensions.Logging .
A Serilog .
The Microsoft.Extensions.Logging equivalent of .
A dynamically-modifiable collection of s.
Add to the collection.
A logger provider.
Get the currently-active providers.
If the collection has been disposed, we'll leave the individual
providers with the job of throwing .
A complete Serilog-backed implementation of the .NET Core logging infrastructure.
Initializes a new instance of the class.
The Serilog logger; if not supplied, the static will be used.
When true, dispose when the framework disposes the provider. If the
logger is not specified but is true, the method will be
called on the static class instead.
A , for use with WriteTo.Providers().
Disposes the provider.
Creates a new instance.
The category name for messages produced by the logger.
The .
Adds an to the logging system.
The .
An that pipes events through Serilog.
Construct a .
A Serilog logger to pipe events through; if null, the static class will be used.
If true, the provided logger or static log class will be disposed/closed when the provider is disposed.
Extensions for .
Write Serilog events to the providers in .
The `WriteTo` object.
A to write events to.
The minimum level for
events passed through the sink. Ignored when is specified.
A switch allowing the pass-through minimum level
to be changed at runtime.
A to allow method chaining.
Extends with Serilog configuration methods.
Add Serilog to the logging pipeline.
The logger factory to configure.
The Serilog logger; if not supplied, the static will be used.
When true, dispose when the framework disposes the provider. If the
logger is not specified but is true, the method will be
called on the static class instead.
Reference to the supplied .
Extends with Serilog configuration methods.
Add Serilog to the logging pipeline.
The to add logging provider to.
The Serilog logger; if not supplied, the static will be used.
When true, dispose when the framework disposes the provider. If the
logger is not specified but is true, the method will be
called on the static class instead.
Reference to the supplied .