Table of Contents

Class DefaultLogger

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

Represents a default logger.

public class DefaultLogger : ILogger<BaseDiscordClient>, ILogger
Inheritance
DefaultLogger
Implements
Inherited Members

Methods

BeginScope<TState>(TState)

Begins the scope.

IsEnabled(LogLevel)

Whether the logger is enabled.

Log<TState>(LogLevel, EventId, TState, Exception?, Func<TState, Exception?, string>)

Logs an event.