LoggerTest.

LoggerTest(ITestOutputHelper, LogEventLevel, string, Action<LoggerConfiguration>) Constructor

Summary

The default constructor with available logging level

Syntax

protected LoggerTest(ITestOutputHelper outputHelper, LogEventLevel minLevel, string logFormat = "[{Timestamp:HH:mm:ss} {Level:w4}] {Message}{NewLine}{Exception}", Action<LoggerConfiguration> configureLogger = null)

Parameters

Name Type Description
outputHelper ITestOutputHelper
minLevel LogEventLevel
logFormat string
configureLogger Action<LoggerConfiguration>

Return Value

Type Description
void