A simple static logger class for outputting messages to the console at different levels.
Configuration is global via the static configure method.
configure
Logger
Static
Configures the static logger settings.
A partial LoggerConfig object. Provided settings will override defaults.
LoggerConfig
Logs a message at the DEBUG level.
The main log message string.
Additional arguments to include in the console output (e.g., objects, arrays).
Only outputs if the configured log level is DEBUG.
Logs a message at the ERROR level.
Additional arguments to include in the console output (often an error object).
Outputs if the configured log level is ERROR, WARN, INFO, or DEBUG.
Logs a message at the INFO level.
Additional arguments to include in the console output.
Outputs if the configured log level is INFO or DEBUG.
Logs a message at the WARN level.
Outputs if the configured log level is WARN, INFO, or DEBUG.
A simple static logger class for outputting messages to the console at different levels.
Remarks
Configuration is global via the static
configuremethod.Logger