# console-squeal

> Winston wrapper for overriding console commands with Sentry and Slack support.

Latest version **1.1.1** (published 2015-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install console-squeal
pnpm add console-squeal
yarn add console-squeal
bun add console-squeal
```

## 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.1 |
| Published | 2015-10-15 |
| First published | 2015-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.22 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Meerkats |
| Maintainers | craiglonsdale, jimmyhillis, meerkats |
| Keywords | sentry, slack, winston, log, logger |

## Links

- npm: https://www.npmjs.com/package/console-squeal
- Repository: https://github.com/meerkats/console-squeal
- Homepage: https://github.com/meerkats/console-squeal#readme
- Issues: https://github.com/meerkats/console-squeal/issues
- npm.io page: https://npm.io/package/console-squeal

## Dependencies (4)

- [winston](https://npm.io/package/winston.md) ^1.0.0
- [util-extend](https://npm.io/package/util-extend.md) ^1.0.1
- [winston-sentry](https://npm.io/package/winston-sentry.md) 0.0.7
- [winston-slacker](https://npm.io/package/winston-slacker.md) ^1.0.1

## 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.1 (latest) — 2015-10-15
- 1.1.0 — 2015-10-15

## README

# console-squeal

Winston wrapper for overriding console commands with Sentry and Slack support in nodejs.

# Install

```bash
npm install console-squeal
```

# Usage

```js
var squeal = require('console-squeal');
squeal.sentryDsn = 'my_sentry_dsn';
squeal.slackOptions.webhook = 'my_slack_webhook';
squeal.createLoggers(['console', 'file', 'sentry', 'slack']).start();
```

All subsequent calls to console.log/debug/info/warn/error will be handled by the Winston
transporters that were passed in to the `squeal.createLoggers` function.

To revert back to original console behavior.

```js
squeal.stop();
```

# Author

This repo is created and maintained by Meerkats in Subiaco, Western Australia.

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