hoopa-logger

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i hoopa-logger

Weekly Downloads

5

Version

1.1.0

License

MIT

Unpacked Size

4.89 kB

Total Files

6

Last publish

Collaborators

  • mvfsilva