Table of Contents

Class MicrosoftExtensionsLoggingSplatModule

Namespace
Splat.Builder
Assembly
Splat.Microsoft.Extensions.Logging.dll

Provides a Splat module that configures logging using Microsoft.Extensions.Logging and wraps loggers for Splat compatibility.

public sealed class MicrosoftExtensionsLoggingSplatModule : IModule
Inheritance
MicrosoftExtensionsLoggingSplatModule
Implements
Extension Methods

Remarks

This module enables integration of Microsoft.Extensions.Logging with Splat's logging infrastructure. Register this module with your dependency resolver to enable logging through Microsoft.Extensions.Logging in Splat-based applications.

Constructors

MicrosoftExtensionsLoggingSplatModule(ILoggerFactory)

Provides a Splat module that configures logging using Microsoft.Extensions.Logging and wraps loggers for Splat compatibility.

public MicrosoftExtensionsLoggingSplatModule(ILoggerFactory loggerFactory)

Parameters

loggerFactory ILoggerFactory

The Microsoft.Extensions.Logging.ILoggerFactory instance to use for creating loggers.

Remarks

This module enables integration of Microsoft.Extensions.Logging with Splat's logging infrastructure. Register this module with your dependency resolver to enable logging through Microsoft.Extensions.Logging in Splat-based applications.

Methods

Configure(IMutableDependencyResolver)

Configures the specified dependency resolver with required services and components.

public void Configure(IMutableDependencyResolver resolver)

Parameters

resolver IMutableDependencyResolver

The dependency resolver to configure. Cannot be null.