Private
Optional
_destinationsPrivate
Optional
_formatterPrivate
_logPrivate
_logPrivate
_namePrivate
_tryPrivate
_tryStatic
getThis 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.
Generated using TypeDoc
A basic logger which handles filtering by level.
With the default options it will write to
console.error
and 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.