Log<TState>(ILogger, LogLevel, EventId, TState, Exception, Func<TState, Exception, string>) Method
Namespace
Statiq.Common
Containing Type
InterceptingLoggerProvider

Syntax

protected virtual void Log<TState>(ILogger logger, LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)

Type Parameters

Name Description
TState

Parameters

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