Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

mvfsillva/hoopa-logger

Repository files navigation

Hoopa

Installation

$ yarn add hoopa-logger
$ npm install hoopa-logger

Usage

import logger from 'hoopa-logger'

logger.info('This is information!')
logger.warn('This is a warning!')
logger.error('This is a problem!')
logger.verbose('This is verbose!')
logger.debug('This is a debug!')

Adding Icons

Hoppa logger supports node-emoji cheat sheet 🚀

To add just pass a config object with the emoji name, example:

logger.info('This is information!', { emoji: 'information_source' })

example

Contributing

01. Learn more in the Contributing guide

Please take a look at the contributing guide.

02. Fork this project

03. Install dependencies

$ yarn or npm install

Respect earns Respect 👏

Please respect our Code of Conduct, in short:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

License

MIT © 2020 Marcus Silva