The debug logger.
A sequence of any JavaScript values.
The error logger.
A sequence of any JavaScript values.
The info logger.
A sequence of any JavaScript values.
The warning logger.
A sequence of any JavaScript values.
StaticgetThis should only be used as a default fallback and not as a convenient solution. In most cases you should construct a new instance with the appropriate options for your specific needs.
A basic logger which handles filtering by level.
With the default options it will write to
console.errorand it will use the formatting provided byconsole.error. If the destination is overwritten, then it will use an included formatter similar toutil.format.If a formatter is available, then that should be overridden as well for performance.