Class MutableDependencyResolverExtensions
Log4net specific extensions for the Mutable Dependency Resolver.
public static class MutableDependencyResolverExtensions
- Inheritance
-
MutableDependencyResolverExtensions
Methods
UseLog4NetWithWrappingFullLogger(IMutableDependencyResolver)
Simple helper to initialize Log4Net within Splat with the Wrapping Full Logger.
public static void UseLog4NetWithWrappingFullLogger(this IMutableDependencyResolver instance)
Parameters
instance
IMutableDependencyResolverAn instance of Mutable Dependency Resolver.
Examples
Locator.CurrentMutable.UseLog4NetWithWrappingFullLogger();
Remarks
You should configure Log4Net prior to calling this method.