Skip to content

SplatLoggerModule class

Defined in

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

Summary

View source

        Provides a dependency injection module that registers a default debug logger for use with Splat if no logger is
        already registered.
        

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 SplatLoggerModule
class IModule {
    <>
}
IModule <|.. SplatLoggerModule

Implements: IModule

Remarks

This module is intended for use with dependency injection frameworks that support Splat's logging infrastructure. It ensures that an implementation of ILogger is available by registering a DebugLogger if one has not already been registered. This is typically used to enable logging in applications that use Splat without requiring explicit logger configuration.

Constructors

NameSummary
.ctor

Methods

NameSummary
ConfigureConfigures the specified dependency resolver with required services and components.
Inherited members