1.0.0 • Published 9 years ago
@ash-framework/log v1.0.0
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
errorandfatalmessages will be logged. - When in development messages from
infoup tofatalwill be logged. - When the evenironment variable
DEBUGis 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:
1.0.0
9 years ago