Method Log
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, string>)
Declaration
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | logLevel | |
EventId | eventId | |
TState | state | |
Exception | exception | |
Func<TState, Exception, string> | formatter |
Type Parameters
Name | Description |
---|---|
TState |