IStaticFullLogger interface¶
Defined in
Namespace: Splat
Assembly: Splat.Logging.dll
Full name: Splat.IStaticFullLogger
Modifiers: public abstract
Summary¶
The typed-argument overloads, kept apart from the rest of the type because the set is dictated by the logging contract: one overload per argument count, each forwarding the arguments on without boxing them.
Applies to
net10.0, net9.0, net8.0, net462, net481
Remarks¶
Implementations of this interface enable structured and level-based logging for applications, allowing messages and exceptions to be recorded with contextual information such as the calling member name. The interface supports both simple and formatted messages, with overloads for including exception details and type information. All log messages are intended to be non-localizable. The logger's behavior may depend on the configured log level, and messages below the current level may be ignored. Thread safety and message delivery guarantees depend on the specific implementation.
Properties¶
| Name | Summary |
|---|---|
| Level | Gets the level at which the target will emit messages. |
Methods¶
| Name | Summary |
|---|---|
| Debug | Emits a debug log message with an exception. |
| Info | Emits a info log message with exception. This will emit details about a exception. This type of logging is not able to be localized. |
| Warn | Emits a warning log message with exception. This will emit details about a exception. This type of logging is not able to be localized. |
| Error | Emits a error log message with exception. This will emit details about a exception. This type of logging is not able to be localized. |
| Fatal | Emits a fatal log message with exception. This will emit details about a exception. This type of logging is not able to be localized. |
| Write | Writes a message to the target. |