Let you set the minimum level required for a log to be sent to console.
For example if you set the level to LogLevel.LOG
, the Logger.debug()
and Logger.comments()
methods won't log anything.
Let you ignore Logs by title or by titles and levels.
The files where the logs are saved.
Log a message in the console as a comment.
The message to log, can be anything.
The title of the log.
Log a message in the console as a debug.
The message to log, can be anything.
The title of the log.
Log a message in the console as an error.
The message to log, can be anything.
The title of the log.
Log a message in the console as an event.
The message to log, can be anything.
The title of the log.
Log a message in the console as an info.
The message to log, can be anything.
The title of the log.
Test if a title and level is ignored.
The title of the log.
The level of the log.
Log a message in the console.
The message to log, can be anything.
The title of the log.
The color of the log.
Save from now the logs in the file.
The path of the file.
Set the color for the following text.
The color of the text.
The text to colorize.
Log a message in the console as a warning.
The message to log, can be anything.
The title of the log.
Log something in the console and transform the ColorResolvable into an ASCII Escape Sequence containing the color.
The text to log.
The color of the text.
The title of the text.
Returns a color in hexadecimal without the sharp from a ColorResolvable.
The ColorResolvable.
Generated using TypeDoc
https://ayfri.gitbook.io/advanced-command-handler/utilities/logger