SplatLoggerModule class¶
Defined in
Namespace: Splat.Builder Assembly: Splat.Logging.dll Full name: Splat.Builder.SplatLoggerModule Modifiers: public sealed
Summary¶
View source (opens in a new tab)
Provides a dependency injection module that registers a default debug logger for use with Splat if no logger is
already registered.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class SplatLoggerModule
class IModule {
<<interface>>
}
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¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| Configure | Configures the specified dependency resolver with required services and components. |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)