AutoFakeTest.

CreateLoggerFactory(ILogger, LoggerProviderCollection) Method

Summary

Control the way that the serilog logger factory is created.

Syntax

protected override ILoggerFactory CreateLoggerFactory(ILogger logger, LoggerProviderCollection loggerProviderCollection)

Parameters

Name Type Description
logger ILogger
loggerProviderCollection LoggerProviderCollection

Return Value

Type Description
ILoggerFactory