- Namespace
- Statiq
.Common - Containing Type
- ILoggerExtensions
Syntax
public static void Log<TState>(this ILogger logger, LogLevel logLevel, IDocument document, in EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Type Parameters
Name | Description |
---|---|
TState |
Parameters
Name | Type | Description |
---|---|---|
logger | ILogger | |
logLevel | LogLevel | |
document | IDocument | |
eventId | EventId | |
state | TState | |
exception | Exception | |
formatter | Func |