Search Results for

    Show / Hide Table of Contents

    Class LoggerEvents

    Contains well-defined event IDs used by core of DisCatSharp.

    Inheritance
    System.Object
    LoggerEvents
    Namespace: DisCatSharp
    Assembly: DisCatSharp.dll
    Syntax
    public static class LoggerEvents

    Properties

    | Improve this Doc View Source

    AuditLog

    Events pertaining to audit log processing.

    Declaration
    public static EventId AuditLog { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ConnectionClose

    Events pertaining to clean connection closes.

    Declaration
    public static EventId ConnectionClose { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ConnectionFailure

    Events typically emitted whenever WebSocket connections fail or are terminated.

    Declaration
    public static EventId ConnectionFailure { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    EventHandlerException

    Events emitted when exceptions are thrown in handlers attached to async events.

    Declaration
    public static EventId EventHandlerException { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    GatewayWsRx

    Events containing raw (but decompressed) payloads, received from Discord Gateway.

    Declaration
    public static EventId GatewayWsRx { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    GatewayWsTx

    Events containing raw payloads, as they're being sent to Discord Gateway.

    Declaration
    public static EventId GatewayWsTx { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    Heartbeat

    Events pertaining to connection lifecycle, specifically, heartbeats.

    Declaration
    public static EventId Heartbeat { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    HeartbeatFailure

    Events pertaining to various heartbeat failures, typically fatal.

    Declaration
    public static EventId HeartbeatFailure { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    Intents

    Events pertaining to Gateway Intents. Typically diagnostic information.

    Declaration
    public static EventId Intents { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    Misc

    Miscellaneous events, that do not fit in any other category.

    Declaration
    public static EventId Misc { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RatelimitDiag

    Events pertaining to ratelimit diagnostics. Typically contain raw bucket info.

    Declaration
    public static EventId RatelimitDiag { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RatelimitHit

    Events pertaining to ratelimit exhaustion.

    Declaration
    public static EventId RatelimitHit { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RatelimitPreemptive

    Events emitted when a ratelimit is exhausted and a request is preemptively blocked.

    Declaration
    public static EventId RatelimitPreemptive { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RestCleaner

    Event is rest cleaner.

    Declaration
    public static EventId RestCleaner { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RestError

    Events emitted when REST processing fails for any reason.

    Declaration
    public static EventId RestError { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RestHashMover

    Event is rest hash mover.

    Declaration
    public static EventId RestHashMover { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RestRx

    Events containing raw payloads, as they're received from Discord's REST API.

    Declaration
    public static EventId RestRx { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    RestTx

    Events containing raw payloads, as they're sent to Discord's REST API.

    Declaration
    public static EventId RestTx { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    SessionUpdate

    Events pertaining to Discord-issued session state updates.

    Declaration
    public static EventId SessionUpdate { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ShardClientError

    Events pertaining to the DiscordShardedClient's shards not initializing correctly.

    Declaration
    public static EventId ShardClientError { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ShardRest

    Events pertaining to Discord API requests from the DiscordShardedClient.

    Declaration
    public static EventId ShardRest { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ShardShutdown

    Events pertaining to autosharded client shard shutdown, clean or otherwise.

    Declaration
    public static EventId ShardShutdown { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    ShardStartup

    Events pertaining to the DiscordShardedClient shard startup.

    Declaration
    public static EventId ShardStartup { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    Startup

    Events pertaining to startup tasks.

    Declaration
    public static EventId Startup { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    WebSocketReceive

    Events emitted for various high-level WebSocket receive events.

    Declaration
    public static EventId WebSocketReceive { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    WebSocketReceiveFailure

    Events emitted for various WebSocket payload processing failures, typically when deserialization or decoding fails.

    Declaration
    public static EventId WebSocketReceiveFailure { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    WebSocketReceiveRaw

    Events emitted for various low-level WebSocket receive events.

    Declaration
    public static EventId WebSocketReceiveRaw { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    | Improve this Doc View Source

    WebSocketSendRaw

    Events emitted for various low-level WebSocket send events.

    Declaration
    public static EventId WebSocketSendRaw { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems