The Config
object provided to this instance.
Logs all messages useful while debugging specially. Useful for providing more context to advanced users.
Logs a critical message. Does not exit the process.
Log a critical message. This exits the process.
Logs an informative message. Useful for general logging purposes.
The is the internal print function used by the logger to check the logLevel
and print messages to the terminal.
An item to be printed to the terminal.
The level of the log.
The string to prefix the log message with.
Logs a warning. Used to highlight cause of problems.
Generated using TypeDoc
A logger function which only logs only is the level of the message is greater than or equal to the log level specificd in the config. Strings support Chalk template literals.