Show / Hide Table of Contents

    Class DefaultLogger

    Inheritance
    Object
    DefaultLogger
    Namespace: DSharpPlus
    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
    Name Description
    TState

    IsEnabled(LogLevel)

    Declaration
    public bool IsEnabled(LogLevel logLevel)
    Parameters
    Type Name Description
    LogLevel logLevel
    Returns
    Type Description
    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, String> formatter
    Type Parameters
    Name Description
    TState
    Back to top © 2016-2022 DSharpPlus Contributors