Skip to content

WrappingFullLogger class

Defined in

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

Summary

View source

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

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