Skip to content

WrappingFullLogger class

Defined in

Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.WrappingFullLogger Modifiers: public

Summary

View source

Provides a logger implementation that wraps an existing ILogger and exposes the full logging API defined by IFullLogger. Supports logging messages at various severity levels with formatting and exception support.

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

Class hierarchy
classDiagram
class WrappingFullLogger
class AllocationFreeLoggerBase
AllocationFreeLoggerBase <|-- WrappingFullLogger
class IFullLogger {
    <>
}
IFullLogger <|.. WrappingFullLogger
class IAllocationFreeLogger {
    <>
}
IAllocationFreeLogger <|.. WrappingFullLogger
class IAllocationFreeErrorLogger {
    <>
}
IAllocationFreeErrorLogger <|.. WrappingFullLogger
class ILogger {
    <>
}
ILogger <|.. WrappingFullLogger

Inherits from: AllocationFreeLoggerBase

Implements: IFullLogger, IAllocationFreeLogger, IAllocationFreeErrorLogger, ILogger

Remarks

This class delegates all logging operations to the wrapped ILogger instance, adding convenience overloads and formatting capabilities as defined by IFullLogger. It enables allocation-free logging patterns and supports structured and formatted messages. Thread safety and performance characteristics depend on the underlying ILogger implementation.

Constructors

NameSummary
.ctorInitializes a new instance of the [WrappingFullLogger](# class.

Methods

NameSummary
DebugEmits a debug log message. This will emit the public contents of the object provided to the log.
DebugExceptionEmits a debug log message. This will emit details about a exception. This type of logging is not able to be localized.
InfoEmits a info log message. This will emit the public contents of the object provided to the log.
InfoExceptionEmits a info log message. This will emit details about a exception. This type of logging is not able to be localized.
WarnEmits a warning log message. This will emit the public contents of the object provided to the log.
WarnExceptionEmits a warning log message. This will emit details about a exception. This type of logging is not able to be localized.
ErrorEmits a error log message. This will emit the public contents of the object provided to the log.
ErrorExceptionEmits a error log message. This will emit details about a exception. This type of logging is not able to be localized.
FatalEmits a fatal log message. This will emit the public contents of the object provided to the log.
FatalExceptionEmits a fatal log message. This will emit details about a exception. This type of logging is not able to be localized.
Inherited members