Class DefaultLogger
Inheritance
System.Object
DefaultLogger
Assembly: cs.temp.dll.dll
Syntax
public class DefaultLogger : ILogger<BaseDiscordClient>
Methods
BeginScope<TState>(TState)
Declaration
public IDisposable BeginScope<TState>(TState state)
Parameters
Type |
Name |
Description |
TState |
state |
|
Returns
Type |
Description |
IDisposable |
|
Type Parameters
IsEnabled(LogLevel)
Declaration
public bool IsEnabled(LogLevel logLevel)
Parameters
Type |
Name |
Description |
LogLevel |
logLevel |
|
Returns
Type |
Description |
System.Boolean |
|
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, System.String> |
formatter |
|
Type Parameters