Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, string>) Method
Namespace
Statiq.Testing
Containing Type
TestExecutionContext

Syntax

public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)

Type Parameters

Name Description
TState

Parameters

Name Type Description
logLevel LogLevel
eventId EventId
state TState
exception Exception
formatter Func<TState, Exception, string>