LoggerTest.

CreateLoggerFactory(ILogger, LoggerProviderCollection) Method

Summary

Control the way that the serilog logger factory is created.

Syntax

protected virtual ILoggerFactory CreateLoggerFactory(ILogger logger, LoggerProviderCollection loggerProviderCollection)

Parameters

Name Type Description
logger ILogger
loggerProviderCollection LoggerProviderCollection

Return Value

Type Description
ILoggerFactory