# logtown-plugin-pretty-error

> Logtown plugin leveraging pretty-error library

Latest version **2.4.5** (published 2018-11-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install logtown-plugin-pretty-error
pnpm add logtown-plugin-pretty-error
yarn add logtown-plugin-pretty-error
bun add logtown-plugin-pretty-error
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.4.5 |
| Published | 2018-11-23 |
| First published | 2018-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 32 |
| Author | Dmytro Zelenetskyi |
| Maintainers | hunterman |
| Keywords | Logtown, logger, winston, logtown, wrapper, plugin, pretty, error, error-handling, readable, colorful, prettify, format, human, pretty error |

## Links

- npm: https://www.npmjs.com/package/logtown-plugin-pretty-error
- Repository: https://github.com/logtown/logtown
- Homepage: https://github.com/logtown/logtown/tree/master/pluggins/pretty-error#readme
- Issues: https://github.com/logtown/logtown/issues
- npm.io page: https://npm.io/package/logtown-plugin-pretty-error

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

- 2.4.5 (latest) — 2018-11-23
- 2.4.4 — 2018-08-28
- 2.4.0 — 2018-08-13
- 2.3.1 — 2018-08-11
- 2.3.0 — 2018-08-11

## README

# logtown-plugin-pretty-error

> Logtown plugin leveraging pretty-error 

## Installation

```bash
yarn add logtown-plugin-pretty-error 
```

or 

```bash
npm install logtown-plugin-pretty-error
```

## Usage

```javascript
const logtown = require('logtown');
const prettyError = require('logtown-plugin-pretty-error');
const Winston = require('logtown-winston3');

logtown.addPlugin(prettyError({}));
logtown.addWrapper(new Winston());

const logger = logtown.getLogger('happy-logging');
logger.error(new Error('Hello World'));
```

For reference of pretty-error usage see [pretty-error docs](https://github.com/AriaMinaei/pretty-error)


## License

logtown-plugin-pretty-error is released under the MIT license.

## Donate

[![](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/red_rabbit)
[![](https://img.shields.io/badge/flattr-donate-yellow.svg)](https://flattr.com/profile/red_rabbit)

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