AllocationFreeLoggerBase class¶
Defined in
Namespace: Splat
Assembly: Splat.Logging.dll
Full name: Splat.AllocationFreeLoggerBase
Modifiers: public abstract
Summary¶
Provides the allocation-free Warn logging overloads for AllocationFreeLoggerBase.
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 AllocationFreeLoggerBase
class IAllocationFreeLogger {
<>
}
IAllocationFreeLogger <|.. AllocationFreeLoggerBase
class IAllocationFreeErrorLogger {
<>
}
IAllocationFreeErrorLogger <|.. AllocationFreeLoggerBase
class ILogger {
<>
}
ILogger <|.. AllocationFreeLoggerBase
Implements: IAllocationFreeLogger, IAllocationFreeErrorLogger, ILogger
Remarks¶
Initializes a new instance of the AllocationFreeLoggerBase class.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Base class for a logger the provides allocation free logging. |
Properties¶
| Name | Summary |
|---|---|
| Level | Gets the level at which the target will emit messages. |
| IsDebugEnabled | Gets a value indicating whether the logger currently emits debug logs. |
| IsInfoEnabled | Gets a value indicating whether the logger currently emits information logs. |
| IsWarnEnabled | Gets a value indicating whether the logger currently emits warning logs. |
| IsErrorEnabled | Gets a value indicating whether the logger currently emits error logs. |
| IsFatalEnabled | Gets a value indicating whether the logger currently emits fatal logs. |
Methods¶
| Name | Summary |
|---|---|
| Debug | Emits a message using formatting to the debug log. |
| Error | Emits a message using formatting to the error log. |
| Fatal | Emits a message using formatting to the fatal log. |
| Write | Writes a message to the target. |
| Info | Emits a message using formatting to the info log. |
| Warn | Emits a message using formatting to the warning log. |