Class LoggerEvents
Contains well-defined event IDs used by core of DisCatSharp.
Inheritance
Namespace: DisCatSharp
Assembly: DisCatSharp.dll
Syntax
public static class LoggerEvents
Properties
| Improve this Doc View SourceAuditLog
Events pertaining to audit log processing.
Declaration
public static EventId AuditLog { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
ConnectionClose
Events pertaining to clean connection closes.
Declaration
public static EventId ConnectionClose { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
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 |
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 |
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 |
Heartbeat
Events pertaining to connection lifecycle, specifically, heartbeats.
Declaration
public static EventId Heartbeat { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
HeartbeatFailure
Events pertaining to various heartbeat failures, typically fatal.
Declaration
public static EventId HeartbeatFailure { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
Intents
Events pertaining to Gateway Intents. Typically diagnostic information.
Declaration
public static EventId Intents { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
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 |
RatelimitHit
Events pertaining to ratelimit exhaustion.
Declaration
public static EventId RatelimitHit { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
RestCleaner
Event is rest cleaner.
Declaration
public static EventId RestCleaner { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
RestError
Events emitted when REST processing fails for any reason.
Declaration
public static EventId RestError { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
RestHashMover
Event is rest hash mover.
Declaration
public static EventId RestHashMover { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
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 |
SessionUpdate
Events pertaining to Discord-issued session state updates.
Declaration
public static EventId SessionUpdate { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
ShardRest
Events pertaining to Discord API requests from the DiscordShardedClient.
Declaration
public static EventId ShardRest { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
ShardStartup
Events pertaining to the DiscordShardedClient shard startup.
Declaration
public static EventId ShardStartup { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
Startup
Events pertaining to startup tasks.
Declaration
public static EventId Startup { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
WebSocketReceive
Events emitted for various high-level WebSocket receive events.
Declaration
public static EventId WebSocketReceive { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
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 |
WebSocketReceiveRaw
Events emitted for various low-level WebSocket receive events.
Declaration
public static EventId WebSocketReceiveRaw { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |
WebSocketSendRaw
Events emitted for various low-level WebSocket send events.
Declaration
public static EventId WebSocketSendRaw { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.EventId |