Skip to content

AllocationFreeLoggerBase class

Defined in

Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.AllocationFreeLoggerBase Modifiers: public abstract

Summary

View source

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

NameSummary
.ctorBase class for a logger the provides allocation free logging.

Properties

NameSummary
LevelGets the level at which the target will emit messages.
IsDebugEnabledGets a value indicating whether the logger currently emits debug logs.
IsInfoEnabledGets a value indicating whether the logger currently emits information logs.
IsWarnEnabledGets a value indicating whether the logger currently emits warning logs.
IsErrorEnabledGets a value indicating whether the logger currently emits error logs.
IsFatalEnabledGets a value indicating whether the logger currently emits fatal logs.

Methods

NameSummary
DebugEmits a message using formatting to the debug log.
ErrorEmits a message using formatting to the error log.
FatalEmits a message using formatting to the fatal log.
WriteWrites a message to the target.
InfoEmits a message using formatting to the info log.
WarnEmits a message using formatting to the warning log.

Derived types

Inherited members

See also