@ash-framework/log
v1.0.0
Published
Logger for the Ash framework
Downloads
7
Readme
Logger for ash framework
NPM
Usage
Very light class based wrapper for (currently) the pino logger.
const logger = new Log()
logger.fatal(message)
logger.error(message)
logger.warn(message)
logger.info(message)
logger.debug(message)
logger.trace(message)
Notes:
- When in production, only
error
andfatal
messages will be logged. - When in development messages from
info
up tofatal
will be logged. - When the evenironment variable
DEBUG
is set (to anything), all messages will be logged.
Discover the release history by heading on over to the releases page.
These amazing people are maintaining this project:
These amazing people have contributed finances to this project:
Become a sponsor!
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
and licensed under: