Table of Contents

Class SerilogSplatModule

Namespace
Splat.Builder
Assembly
Splat.Serilog.dll

Provides a ReactiveUI module that configures Serilog as the logging implementation for Splat, optionally using a specified Serilog logger instance.

public sealed class SerilogSplatModule : IModule
Inheritance
SerilogSplatModule
Implements
Extension Methods

Remarks

Use this module to integrate Serilog with Splat's logging infrastructure in ReactiveUI applications. If an explicit Serilog logger is provided, it will be used for all Splat logging; otherwise, the default Serilog logger configuration is applied.

Constructors

SerilogSplatModule()

Initializes a new instance of the SerilogSplatModule class.

public SerilogSplatModule()

SerilogSplatModule(ILogger?)

Provides a ReactiveUI module that configures Serilog as the logging implementation for Splat, optionally using a specified Serilog logger instance.

public SerilogSplatModule(ILogger? actualLogger)

Parameters

actualLogger ILogger

The Serilog logger instance to use for logging. If null, a default logger will be configured.

Remarks

Use this module to integrate Serilog with Splat's logging infrastructure in ReactiveUI applications. If an explicit Serilog logger is provided, it will be used for all Splat logging; otherwise, the default Serilog logger configuration is applied.

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.