Table of Contents

Method ConfigureLogging

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

ConfigureLogging(Action<ILoggingBuilder>)

Configures logging for this DiscordClientBuilder and disables the default DSharpPlus logger.

public DiscordClientBuilder ConfigureLogging(Action<ILoggingBuilder> configure)

Parameters

configure Action<ILoggingBuilder>

The configuration delegate.

Returns

DiscordClientBuilder

The current instance for chaining.