# hoopa-logger

> a library to make easier the logger in applications with winston

Latest version **1.1.0** (published 2019-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install hoopa-logger
pnpm add hoopa-logger
yarn add hoopa-logger
bun add hoopa-logger
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-04-10 |
| First published | 2019-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Marcus Silva |
| Maintainers | mvfsilva |
| Keywords | log, logger, wiston, wrapper, wrapper lib, library, lib |

## Links

- npm: https://www.npmjs.com/package/hoopa-logger
- Repository: https://github.com/mvfsillva/hoopa-logger
- Homepage: https://github.com/mvfsillva/hoopa-logger#readme
- Issues: https://github.com/mvfsillva/hoopa-logger/issues
- npm.io page: https://npm.io/package/hoopa-logger

## Dependencies (2)

- [winston](https://npm.io/package/winston.md) ^3.2.1
- [node-emoji](https://npm.io/package/node-emoji.md) ^1.10.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-04-10
- 1.0.1 — 2019-04-10
- 1.0.0 — 2019-04-09

## README

# Hoopa

<p align="center">
  <img width="400" height="auto" src=".github/hoopa.png"/>
</p>

## Installation

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

## Usage

```javascript
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](https://www.webfx.com/tools/emoji-cheat-sheet/) cheat sheet :rocket:

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

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

![example](.github/hoopa-logger-example-emoji.png)

## Contributing

### 01. Learn more in the Contributing guide

Please take a look at the [contributing guide](.github/contributing.md).

### 02. Fork this project

### 03. Install dependencies

```sh
$ yarn or npm install
```

## Respect earns Respect 👏

Please respect our [Code of Conduct](.github/code-of-conduct.md), 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](license) © 2019 Marcus Silva

---
_Source: https://npm.io/package/hoopa-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
