@ash-framework/log
![Dev Dependency Status](https://img.shields.io/david/dev/ash-framework/log.svg)
Logger for ash framework
Install
- Install:
npm install --save @ash-framework/log
- Module:
require('@ash-framework/log')
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
and fatal
messages will be logged. - When in development messages from
info
up to fatal
will be logged. - When the evenironment variable
DEBUG
is set (to anything), all messages will be logged.
History
Discover the release history by heading on over to the releases page.
Backers
Maintainers
These amazing people are maintaining this project:
- Richard Walker digitalsadhu@gmail.com
These amazing people have contributed finances to this project:
Become a sponsor!
Contributors
These amazing people have contributed code to this project:
License
Unless stated otherwise all works are:
and licensed under: