1.0.0 • Published 7 years ago

@ash-framework/log v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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 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.

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: