Table of Contents

Class MutableDependencyResolverExtensions

Namespace
Splat.NLog
Assembly
Splat.NLog.dll

Provides extension methods for registering NLog integration with Splat using a mutable dependency resolver.

public static class MutableDependencyResolverExtensions
Inheritance
MutableDependencyResolverExtensions

Methods

UseNLogWithWrappingFullLogger(IMutableDependencyResolver)

Initializes NLog integration with Splat using the wrapping full logger pattern.

public static void UseNLogWithWrappingFullLogger(this IMutableDependencyResolver instance)

Parameters

instance IMutableDependencyResolver

The mutable dependency resolver to register NLog with.

Examples

AppLocator.CurrentMutable.UseNLogWithWrappingFullLogger();

Remarks

Configure NLog targets and rules before calling this method.