# pavlog

> Unified logging for npm modules.

Latest version **4.0.5** (published 2016-07-14) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install pavlog
pnpm add pavlog
yarn add pavlog
bun add pavlog
```

## 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 | 4.0.5 |
| Published | 2016-07-14 |
| First published | 2015-12-29 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alex Kern |
| Maintainers | alexkern |

## Links

- npm: https://www.npmjs.com/package/pavlog
- Repository: https://github.com/pavlovml/pavlog
- Homepage: https://github.com/pavlovml/pavlog#readme
- Issues: https://github.com/pavlovml/pavlog/issues
- npm.io page: https://npm.io/package/pavlog

## Dependencies (4)

- [debug](https://npm.io/package/debug.md) ^2.2.0
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [morgan](https://npm.io/package/morgan.md) ^1.6.1
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.9.2

## Recent versions

- 4.0.5 (latest) — 2016-07-14
- 4.0.4 — 2016-06-25
- 4.0.3 — 2016-06-21
- 4.0.2 — 2016-06-21
- 4.0.1 — 2016-06-20
- 3.0.2 — 2015-12-29
- 3.0.1 — 2015-12-29
- 3.0.0 — 2015-12-29

## README

# pavlog

[![TravisCI shield](https://img.shields.io/travis/pavlovml/pavlog.svg)](https://travis-ci.org/pavlovml/pavlog) [![npm shield](https://img.shields.io/npm/v/pavlog.svg)](https://www.npmjs.com/package/pavlog) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)

Unified logging for npm modules.

## Installation

    $ npm install pavlog --save

## Usage

```javascript
import pavlog from 'pavlog'
pavlog.useConsole()

const log = pavlog.child('olive')

log('Start logging...') // default level: info
log.fatal('All your base are belong to us!')
```

## Development

Pavlog uses [JavaScript Standard Style](https://github.com/feross/standard), [Babel](https://babeljs.io/) for ES6+ support, and [Jest](http://facebook.github.io/jest/) for testing.

    $ git clone git@github.com:pavlovml/pavlog.git
    $ make test

To run the tests on file changes:

    $ env WATCH=true make test

## TODO

* Advanced console pretty-printing (esp. for errors)
* Listeners for other logging services
* More documentation

## License

[BSD 3-Clause](https://github.com/pavlovml/pavlog/blob/master/LICENSE)

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