Serilog.Core
Namespace with 15 public types
Classes
Logger
The core Serilog logging pipeline. A must
be disposed to flush any events buffered within it. Most application
code should depend on , not this class.
LoggingLevelSwitch
Dynamically controls logging level.
LoggingLevelSwitchChangedEventArgs
Event arguments for event.
MessageTemplateFormatMethodAttribute
Indicates that the marked method logs data using a message template and (optional) arguments.
The name of the parameter which contains the message template should be given in the constructor.
Enumerations
LoggingFailureKind
Describes the reason for a logging failure.
Static Classes
Constants
Constants used in the core logging pipeline and associated types.
Interfaces
IBatchedLogEventSink
A destination that accepts events in batches. Many sinks gain a performance advantage by handling events in batches,
for example to combine multiple events into a single network request to a remote collector. Because the client
application cannot wait for every event to be flushed when batching is used, batched sinks normally work
asynchronously to conserve local resources while batches are sent.
IDestructuringPolicy
Determine how, when destructuring, a supplied value is represented
as a complex log event property.
ILogEventEnricher
Applied during logging to add additional information to log events.
ILogEventFilter
Provides filtering of the log event stream.
ILogEventPropertyFactory
Creates log event properties from regular .NET objects, applying policies as
required.
ILogEventPropertyValueFactory
Supports the policy-driven construction of s given
regular .NET objects.
ILogEventSink
A destination for log events.
ILoggingFailureListener
Implementers can be notified of various failure conditions in the Serilog pipeline.
ISetLoggingFailureListener
Implemented by sinks that can report failures through an .