# chorizo

> Chorizo is an opiniorated contextual logger

Latest version **0.3.0** (published 2018-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install chorizo
pnpm add chorizo
yarn add chorizo
bun add chorizo
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2018-02-13 |
| First published | 2017-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Francisco Canela |
| Maintainers | fcanela |

## Links

- npm: https://www.npmjs.com/package/chorizo
- npm.io page: https://npm.io/package/chorizo

## Recent versions

- 0.3.0 (latest) — 2018-02-13
- 0.2.1 — 2017-09-25
- 0.2.0 — 2017-09-24
- 0.1.0 — 2017-09-24
- 0.0.1 — 2017-09-23
- 0.0.0 — 2017-09-22

## README

# Chorizo

Chorizo is an opiniorated contextual logger

## Usage

```
const logger = require('chorizo').for('test-example');

logger.fatal('An unkown exception ocurred.');
logger.error('Something controlled happened.');
logger.warn('This was unexpected.');
logger.info('Everything ok. Just reporting.');
logger.debug('Useful when everything is on fire');
```

`info`, `warn` and `debug` outputs to `stdout`. `fatal` and `error` accepts a string or error object and outputs to `stderr`.

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