# ee-log

> Easy, simple & beautiful logs

Latest version **3.0.9** (published 2019-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install ee-log
pnpm add ee-log
yarn add ee-log
bun add ee-log
```

## 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 | 3.0.9 |
| Published | 2019-02-06 |
| First published | 2013-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 149.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Michael van der Weg |
| Maintainers | ee |
| Keywords | log, logging, trace, colorful |

## Links

- npm: https://www.npmjs.com/package/ee-log
- Repository: https://github.com/eventEmitter/ee-log
- Issues: https://github.com/eventEmitter/ee-log/issues
- npm.io page: https://npm.io/package/ee-log

## Dependencies (2)

- [logd-console-output](https://npm.io/package/logd-console-output.md) ^1.2.1
- [@distributed-systems/callsite](https://npm.io/package/@distributed-systems/callsite.md) ^1.1.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

- 3.0.9 (latest) — 2019-02-06
- 3.0.8 — 2019-01-07
- 3.0.7 — 2018-08-11
- 3.0.6 — 2018-03-28
- 3.0.5 — 2018-01-06
- 3.0.4 — 2018-01-06
- 3.0.3 — 2018-01-06
- 3.0.2 — 2018-01-06
- 3.0.1 — 2018-01-04
- 3.0.0 — 2017-12-29
- 2.0.4 — 2017-06-27
- 2.0.3 — 2017-05-04
- 2.0.2 — 2017-04-27
- 2.0.1 — 2017-04-27
- 2.0.0 — 2017-04-27
- … 46 more at https://npm.io/package/ee-log/versions

## README

# ee-log

Easy, simple & useful logging

Supported by [joinbox.com](https://joinbox.com/), your swiss node.js & javascript agency :rocket:

[![npm](https://img.shields.io/npm/dm/ee-log.svg?style=flat-square)](https://www.npmjs.com/package/ee-log)
[![Travis](https://img.shields.io/travis/eventEmitter/ee-log.svg?style=flat-square)](https://travis-ci.org/eventEmitter/ee-log)


![printscreen](docs/demo.png)


# API

The module exposes a set of methods that can be used to print colorful logs. Each of the methods accepts an unlimited amount of parameters. All of the parameters will be printed. Objects will automatically printed in an expanded form, errors will be printed in a more readable form. Each log log statement is prefixed with the exact file and line where the log statement is located.

## Methods

- debug: grey text
- info: white text
- warn: yellow text
- error: red text
- success: green text
- highlight: violet text

	

```
log.error('not good!');
```

you may also use the module itself to log items

```
const log = require('ee-log');

log('this is awesome', {
	someValue: true
}, new Error('fancy error printing'));
```

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