The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

MicrosoftExtensionsLoggingExtensions.

UseMicrosoftExtensionsLoggingWithWrappingFullLogger(IMutableDependencyResolver, ILoggerFactory) Method

Summary

Simple helper to initialize Microsoft.Extensions.Logging within Splat with the Wrapping Full Logger.

Syntax

public static void UseMicrosoftExtensionsLoggingWithWrappingFullLogger(this IMutableDependencyResolver instance, ILoggerFactory loggerFactory)

Examples

Locator.CurrentMutable.UseMicrosoftExtensionsLoggingWithWrappingFullLogger();

Remarks

You should configure Microsoft.Extensions.Logging prior to calling this method.

Parameters

Name Type Description
instance IMutableDependencyResolver An instance of Mutable Dependency Resolver.
loggerFactory ILoggerFactory An instance of the Microsoft.Extensions.Logging Logger Factory.

Return Value

Type Description
void