# yy030913.logger

> a tool for logger; can be used for http middlewares

Latest version **0.0.1** (published 2019-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install yy030913.logger
pnpm add yy030913.logger
yarn add yy030913.logger
bun add yy030913.logger
```

## 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.0.1 |
| Published | 2019-11-14 |
| First published | 2019-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.0.0 |
| Dependencies | 5 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | yy030913 |
| Maintainers | yy030913 |
| Keywords | logger |

## Links

- npm: https://www.npmjs.com/package/yy030913.logger
- Repository: https://github.com/yy030913/logger
- Homepage: http://github.com/yy030913/logger
- Issues: https://github.com/yy030913/logger/issues
- npm.io page: https://npm.io/package/yy030913.logger

## Dependencies (5)

- [util](https://npm.io/package/util.md) ^0.12.1
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [sonic-boom](https://npm.io/package/sonic-boom.md) ^0.7.6
- [fast-safe-stringify](https://npm.io/package/fast-safe-stringify.md) ^2.0.7

## 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

- 0.0.1 (latest) — 2019-11-14

## README

# Logger

## Usage

```js
const logger = require('yy030913.logger')([logPath])
logger['level'](msg);
```
all levels: ['fatal', 'error', 'warn', 'info', 'debug', 'trace']

## Acknowledgements

This project was kindly sponsored by [pino ⇗](https://github.com/pinojs/pino)
tty string styling [chalk ⇗](https://github.com/chalk/chalk)				
Safe and fast serialization alternative to JSON.stringify.[fast-safe-stringify ⇗](https://github.com/davidmarkclements/fast-safe-stringify)	
Extremely fast utf8-only stream [sonic-boom ⇗](https://github.com/mcollina/sonic-boom)			

## License

Licensed under [MIT](./LICENSE).

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