Skip to content
A library to make easier the logger in applications with winston
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
example
.editorconfig chore: add editorconfig Apr 9, 2019
.gitignore
.npmignore
.prettierrc
index.js minor: emoji-support (#1) Apr 10, 2019
license initial commit Apr 9, 2019
package-lock.json
package.json v1.1.0 Apr 10, 2019
readme.md minor: emoji-support (#1) Apr 10, 2019
yarn.lock

readme.md

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

You can’t perform that action at this time.