Class MutableDependencyResolverExtensions
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
instanceIMutableDependencyResolverThe mutable dependency resolver to register NLog with.
Examples
AppLocator.CurrentMutable.UseNLogWithWrappingFullLogger();
Remarks
Configure NLog targets and rules before calling this method.