npm.io
1.1.0 • Published 7 years ago

hoopa-logger

Licence
MIT
Version
1.1.0
Deps
2
Size
5 kB
Vulns
0
Weekly
0
Stars
21

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 2019 Marcus Silva

Keywords