Skip to content

IAllocationFreeLogger interface

Defined in

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

Summary

An allocation free logger which wraps all the possible logging methods available. Often not needed for your own loggers. A WrappingFullLogger will wrap simple loggers into a full logger.

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 IAllocationFreeLogger
class IAllocationFreeErrorLogger {
    <>
}
IAllocationFreeErrorLogger <|.. IAllocationFreeLogger
class ILogger {
    <>
}
ILogger <|.. IAllocationFreeLogger

Implements: IAllocationFreeErrorLogger, ILogger

Properties

NameSummary
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.
InfoEmits a message using formatting to the info log.
WarnEmits a message using formatting to the warning log.
ErrorEmits a message using formatting to the error log.
FatalEmits a message using formatting to the fatal log.