WrappingFullLogger class¶
Defined in
Namespace: Splat
Assembly: Splat.Logging.dll
Full name: Splat.WrappingFullLogger
Modifiers: public
Summary¶
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [WrappingFullLogger](# class. |
Methods¶
| Name | Summary |
|---|---|
| Debug | Emits a debug log message. This will emit the public contents of the object provided to the log. |
| DebugException | Emits a debug log message. This will emit details about a exception. This type of logging is not able to be localized. |
| Info | Emits a info log message. This will emit the public contents of the object provided to the log. |
| InfoException | Emits a info log message. This will emit details about a exception. This type of logging is not able to be localized. |
| Warn | Emits a warning log message. This will emit the public contents of the object provided to the log. |
| WarnException | Emits a warning log message. This will emit details about a exception. This type of logging is not able to be localized. |
| Error | Emits a error log message. This will emit the public contents of the object provided to the log. |
| ErrorException | Emits a error log message. This will emit details about a exception. This type of logging is not able to be localized. |
| Fatal | Emits a fatal log message. This will emit the public contents of the object provided to the log. |
| FatalException | Emits a fatal log message. This will emit details about a exception. This type of logging is not able to be localized. |
Inherited members
Splat.AllocationFreeLoggerBase.#ctor(Splat.ILogger)Splat.AllocationFreeLoggerBase.Debug``1(System.String,``0)Splat.AllocationFreeLoggerBase.Debug``1(System.Exception,System.String,``0)Splat.AllocationFreeLoggerBase.Debug``2(System.String,``0,``1)Splat.AllocationFreeLoggerBase.Debug``2(System.Exception,System.String,``0,``1)Splat.AllocationFreeLoggerBase.Debug``3(System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Debug``3(System.Exception,System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Debug``4(System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Debug``4(System.Exception,System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Debug``5(System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Debug``5(System.Exception,System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Debug``6(System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Debug``6(System.Exception,System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Debug``7(System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Debug``7(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Debug``8(System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Debug``8(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Debug``9(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Debug``9(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Debug``10(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Debug``10(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Error``1(System.String,``0)Splat.AllocationFreeLoggerBase.Error``1(System.Exception,System.String,``0)Splat.AllocationFreeLoggerBase.Error``2(System.String,``0,``1)Splat.AllocationFreeLoggerBase.Error``2(System.Exception,System.String,``0,``1)Splat.AllocationFreeLoggerBase.Error``3(System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Error``3(System.Exception,System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Error``4(System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Error``4(System.Exception,System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Error``5(System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Error``5(System.Exception,System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Error``6(System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Error``6(System.Exception,System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Error``7(System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Error``7(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Error``8(System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Error``8(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Error``9(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Error``9(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Error``10(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Error``10(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Fatal``1(System.String,``0)Splat.AllocationFreeLoggerBase.Fatal``1(System.Exception,System.String,``0)Splat.AllocationFreeLoggerBase.Fatal``2(System.String,``0,``1)Splat.AllocationFreeLoggerBase.Fatal``2(System.Exception,System.String,``0,``1)Splat.AllocationFreeLoggerBase.Fatal``3(System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Fatal``3(System.Exception,System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Fatal``4(System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Fatal``4(System.Exception,System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Fatal``5(System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Fatal``5(System.Exception,System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Fatal``6(System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Fatal``6(System.Exception,System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Fatal``7(System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Fatal``7(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Fatal``8(System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Fatal``8(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Fatal``9(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Fatal``9(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Fatal``10(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Fatal``10(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Write(System.String,Splat.LogLevel)Splat.AllocationFreeLoggerBase.Write(System.Exception,System.String,Splat.LogLevel)Splat.AllocationFreeLoggerBase.Write(System.String,System.Type,Splat.LogLevel)Splat.AllocationFreeLoggerBase.Write(System.Exception,System.String,System.Type,Splat.LogLevel)Splat.AllocationFreeLoggerBase.Info``1(System.String,``0)Splat.AllocationFreeLoggerBase.Info``1(System.Exception,System.String,``0)Splat.AllocationFreeLoggerBase.Info``2(System.String,``0,``1)Splat.AllocationFreeLoggerBase.Info``2(System.Exception,System.String,``0,``1)Splat.AllocationFreeLoggerBase.Info``3(System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Info``3(System.Exception,System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Info``4(System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Info``4(System.Exception,System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Info``5(System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Info``5(System.Exception,System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Info``6(System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Info``6(System.Exception,System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Info``7(System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Info``7(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Info``8(System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Info``8(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Info``9(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Info``9(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Info``10(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Info``10(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Warn``1(System.String,``0)Splat.AllocationFreeLoggerBase.Warn``1(System.Exception,System.String,``0)Splat.AllocationFreeLoggerBase.Warn``2(System.String,``0,``1)Splat.AllocationFreeLoggerBase.Warn``2(System.Exception,System.String,``0,``1)Splat.AllocationFreeLoggerBase.Warn``3(System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Warn``3(System.Exception,System.String,``0,``1,``2)Splat.AllocationFreeLoggerBase.Warn``4(System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Warn``4(System.Exception,System.String,``0,``1,``2,``3)Splat.AllocationFreeLoggerBase.Warn``5(System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Warn``5(System.Exception,System.String,``0,``1,``2,``3,``4)Splat.AllocationFreeLoggerBase.Warn``6(System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Warn``6(System.Exception,System.String,``0,``1,``2,``3,``4,``5)Splat.AllocationFreeLoggerBase.Warn``7(System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Warn``7(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6)Splat.AllocationFreeLoggerBase.Warn``8(System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Warn``8(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7)Splat.AllocationFreeLoggerBase.Warn``9(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Warn``9(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8)Splat.AllocationFreeLoggerBase.Warn``10(System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.Warn``10(System.Exception,System.String,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9)Splat.AllocationFreeLoggerBase.LevelSplat.AllocationFreeLoggerBase.IsDebugEnabledSplat.AllocationFreeLoggerBase.IsInfoEnabledSplat.AllocationFreeLoggerBase.IsWarnEnabledSplat.AllocationFreeLoggerBase.IsErrorEnabledSplat.AllocationFreeLoggerBase.IsFatalEnabledSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString