Skip to content

TestingUtils.CreateDefaultLoggerFactory(string)

CreateDefaultLoggerFactory(string)

static
View source
public static ILoggerFactory CreateDefaultLoggerFactory(string filePath)
Create the default logger factory, which would configure logger factory with a FileLoggerProvider that writes logs to filePath and console. by default;

Parameters

filePathstring
The file path.

Returns

ILoggerFactory.