# debug-log

> Node.js 0.12 util.debuglog() ponyfill

Latest version **2.0.0** (published 2018-11-08) · MIT license · 0 weekly downloads

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-11-08 |
| First published | 2015-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | debug, log, logging, debuglog, built-in, util, utils, core, console, env, environment, ponyfill, polyfill, shim |

## Links

- npm: https://www.npmjs.com/package/debug-log
- Repository: https://github.com/sindresorhus/debug-log
- Homepage: https://github.com/sindresorhus/debug-log#readme
- Issues: https://github.com/sindresorhus/debug-log/issues
- npm.io page: https://npm.io/package/debug-log

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-11-08
- 1.0.1 — 2016-09-30
- 1.0.0 — 2015-01-22

## README

# Deprecated

This package is no longer relevant as Node.js 0.12 is unmaintained.

---

# debug-log [![Build Status](https://travis-ci.org/sindresorhus/debug-log.svg?branch=master)](https://travis-ci.org/sindresorhus/debug-log)

> Node.js 0.12 [`util.debuglog()`](http://nodejs.org/api/util.html#util_util_debuglog_section) [ponyfill](https://ponyfill.com)


## Install

```
$ npm install --save debug-log
```


## Usage

```js
// example.js
var debugLog = require('debug-log')('foo');

debugLog('unicorns & rainbows');
```

```
$ node example.js

```

```
$ NODE_DEBUG=foo node example.js
FOO 3245: unicorns & rainbows
```


## API

See the [`util.debuglog()` docs](http://nodejs.org/api/util.html#util_util_debuglog_section).


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)

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