@ash-framework/log

1.0.0 • Public • Published

@ash-framework/log

The Media Suite

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status

Logger for ash framework

Install

NPM

  • 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

Sponsors

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:

Readme

Keywords

Package Sidebar

Install

npm i @ash-framework/log

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ash-framework
  • digitalsadhu