Class RuntimeFeatures
- Namespace
- DSharpPlus.Logging
- Assembly
- DSharpPlus.dll
Contains runtime feature switches for trace logging.
public static class RuntimeFeatures
- Inheritance
-
RuntimeFeatures
Properties
- AnonymizeContents
Specifies whether snowflake IDs and message contents are being anonymized. Defaults to false.
- AnonymizeTokens
Specifies whether bot and webhook tokens are being anonymized. Defaults to true.
- EnableInboundGatewayLogging
Specifies whether inbound gateway payloads should be logged. Defaults to true.
- EnableOutboundGatewayLogging
Specifies whether outbound gateway payloads should be logged. Defaults to true.
- EnableRestRequestLogging
Specifies whether rest requests should be logged. Defaults to true.