ILogger interface¶
Defined in
Namespace: Splat
Assembly: Splat.Logging.dll
Full name: Splat.ILogger
Modifiers: public abstract
Summary¶
Defines a contract for logging messages with varying severity levels and contextual information.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Remarks¶
Implementations of this interface allow applications to record diagnostic or operational messages, optionally including exception details and type context. The interface supports logging at different levels of severity, enabling filtering and categorization of log output. Thread safety and message formatting behavior depend on the specific implementation.
Properties¶
| Name | Summary |
|---|---|
| Level | Gets the level at which the target will emit messages. |
Methods¶
| Name | Summary |
|---|---|
| Write | Writes a message to the target. |