modern-logger

A modern logger built on top of Winston with native support for emojis and Rollbar

MIT License

Downloads
205
Stars
7
Committers
5

A modern logger πŸ“ƒ built on top of Winston with native support for emojis and Rollbar

A modern logger πŸ“ƒ built on top of Winston with native support for emojis and Rollbar

Features

  • Uses Winston logging library under the hood
  • Enable Rollbar error tracking service as a transport from the environment βœ…
  • Pick between 1341 emojis from node-emoji to give a little bit of more coolness 😎 to your logs πŸ“ƒ βœ…
  • Supports Bluebird 🐦 promises βœ…

How to install

npm install modern-logger

How to use

Use it in your app

const Logger = require('modern-logger')

Logger.info('Launching :rocket: app to space :night_with_stars:')

Available environment variables

Variable Description Required Default value
LOG_LEVEL The log level verbosity. false info
ENVIRONMENT The environment the app is running on. false undefined
VERSION The version of the app. false undefined
VERSION_COMMIT The current code commit of the app. false undefined
ROLLBAR_API_KEY The server API key used to talk with Rollbar. false undefined

How to contribute

You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.

All donation proceedings will go to the Sverige fΓΆr UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.

Used by

  • serverful - A kickass πŸ’ͺ web server πŸ™€ with all the bells πŸ”” and whistles ✨

License

Read the license for permissions and limitations.

Package Rankings
Top 8.78% on Npmjs.org
Badges
Extracted from project README
Coverage Status Version Downloads