Skip to content

DefaultLogManager class

Defined in

Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.DefaultLogManager Modifiers: public sealed

Summary

View source

Provides the default implementation of the ILogManager interface for creating and managing loggers by type.

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 DefaultLogManager
class ILogManager {
    <>
}
ILogManager <|.. DefaultLogManager

Implements: ILogManager

Remarks

This class retrieves loggers using a dependency resolver and caches them for efficient reuse. It is typically used as the standard log manager in applications that require logging support. Thread safety is ensured for logger retrieval operations.

Constructors

NameSummary
.ctorInitializes a new instance of the [DefaultLogManager](# class.

Methods

NameSummary
GetLoggerGenerate a [IFullLogger](# for the specified type.
Inherited members