LoggingHandler

LoggingHandler

Class that handles logging related tasks.

Constructor

# new LoggingHandler()

Members

# critical

Log at critical level.

# debug

Log at debug level.

# error

Log at error level.

# info

Log at info level.

# warn

Log at warn level.

Methods

# (static) createLogger(client) → {module:winston~Logger}

Create, set up and return a Winston Logger.

Parameters:
Name Type Description
client module:discord.js~Client

The Discord client the Logger will be attached to.

Returns:

The created Logger.

Type
module:winston~Logger