The colors are on by default on non-browser environments and match the browser console colors.
The level determines which messages are logged, it can be verbose, debug, info, warn or error.
The name is used to get the level and status from the environment variables.
The separator is a string used to join the arguments passed to the logger methods.
The status determines if the logger is enabled or disabled.
Checks if the logger is disabled.
Checks if the logger is enabled.
ProtectedisChecks if the debug level is disabled.
ProtectedisChecks if the info level is disabled.
ProtectedisChecks if the verbose level is disabled.
ProtectedisChecks if the warn level is disabled.
Logs a message to the console if the logger is enabled and the level is above or equal to debug.
Disables the logger.
Disables the colors.
Enables the logger.
Enables the colors.
Logs a message to the console if the logger is enabled and the level is above or equal to error.
Formats the arguments passed to the logger methods, it joins the arguments with the separator and adds the colors if enabled.
ProtectedformatProtectedformatLogs a message to the console if the logger is enabled and the level is above or equal to info.
Sets the separator of the logger.
Logs a message to the console if the logger is enabled and the level is above or equal to verbose.
Logs a message to the console if the logger is enabled and the level is above or equal to warn.
Protected StaticgetGets the level from the environment variables.
Protected StaticgetGets the status from the environment variables.
The Logger class provides an isomorphic and consistent way to log messages to the console.
warnon non-production environments anderroron production environments.onon non-test environments andoffon test environments.->symbol.Aracna Reference