Interface ExplicitLoggingConfig

Overview

The most explicit way to configure logging, with the ability to set both events and specific outputs.

Setting the emits field to [] will disable logging for the specified events.

See DataAPIClientEventMap & LoggingConfig for much more info.

See

  • LoggingConfig
  • LoggingEvent
  • LoggingOutput
interface ExplicitLoggingConfig {
    emits: OneOrMany<LoggingOutput>;
    events: LoggingEvent | (RegExp | keyof AdminCommandEventMap | keyof CommandEventMap)[];
}

Properties

Properties

events: LoggingEvent | (RegExp | keyof AdminCommandEventMap | keyof CommandEventMap)[]