# whatbot-logger

> logger for whatbot pe

Latest version **1.0.1** (published 2021-02-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install whatbot-logger
pnpm add whatbot-logger
yarn add whatbot-logger
bun add whatbot-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.0.1 |
| Published | 2021-02-28 |
| First published | 2021-02-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | whatbot |
| Maintainers | whatbot |
| Keywords | logger, loggly, whatbot |

## Links

- npm: https://www.npmjs.com/package/whatbot-logger
- Repository: https://gitlab.com/XPeru/whatbot-logger
- Homepage: https://gitlab.com/XPeru/whatbot-logger#readme
- Issues: https://gitlab.com/XPeru/whatbot-logger/issues
- npm.io page: https://npm.io/package/whatbot-logger

## Dependencies (2)

- [bunyan](https://npm.io/package/bunyan.md) ^1.8.15
- [bunyan-loggly](https://npm.io/package/bunyan-loggly.md) ^1.4.2

## 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.0.1 (latest) — 2021-02-28
- 1.0.0 — 2021-02-28

## README

# Whatbot Logger

Logger for whatbot pe

## Installation

```
npm i whatbot-logger
```

## How to use it ?

### First set config:

```
const setupLogger = require('whatbot-logger');

const config = {
    name: 'something',
    loggly: {
        token: '',
        subdomain: '',
        bufferLength: 5,
        level: 'info',
    },
};

module.exports = setupLogger(config);
```

### Second just import and use it:

```
const logger = require('whatbot-logger');
logger.info('Hello world!');
```

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