Interface ILogger
Assembly: Microsoft.Extensions.Logging.Abstractions.dll
Syntax
Methods
BeginScope<TState>(TState)
Declaration
IDisposable BeginScope<TState>(TState state)
Parameters
Type |
Name |
Description |
TState |
state |
|
Returns
Type Parameters
IsEnabled(LogLevel)
Declaration
bool IsEnabled(LogLevel logLevel)
Parameters
Returns
Log<TState>(LogLevel, EventId, TState, Exception?, Func<TState, Exception?, string>)
Declaration
void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Parameters
Type Parameters
Extension Methods