Constructs a new Logger instance with the provided options.
The options for configuring the logger.
ReadonlyoptionsThe options for configuring the logger.
StaticcolorA map containing color functions for different log levels.
StaticDEFAULT_The default options for the logger.
StaticdirnameStaticprefixesA map containing prefixes for different log levels.
Static OptionalsaveGets whether the logger is active or not.
Sets whether the logger is active or not.
Gets the log level of the logger.
Sets the log level of the logger.
Gets the name of the logger.
Sets the name of the logger.
Logs a debug message.
The arguments to log.
Logs an error message.
The arguments to log.
Logs a fatal error message.
The arguments to log.
Logs an info message.
The arguments to log.
Logs a message with the specified log level.
The log level.
The arguments to log.
The logged message.
Logs a warning message.
The arguments to log.
StaticclearStaticcustomizeStaticcustomizeCustomizes the logging filename by providing a callback function. The callback receives the logger instance and should return the desired filename.
A function that takes the logger instance and returns a string representing the customized filename for the log.
StaticnoA function that returns the input string as is, without any color modification.
The message to log.
The input message as is.
Represents a logger utility for logging messages with various log levels.