# nodejs-log

> Very Simple Colorful Console Logging

Latest version **0.0.2** (published 2015-04-09) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-04-09 |
| First published | 2015-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Philipp Kuebler |
| Maintainers | pkuebler |
| Keywords | log, simple, console, color |

## Links

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

## Dependencies (1)

- [colors](https://npm.io/package/colors.md) 1.0.3

## 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

- 0.0.2 (latest) — 2015-04-09
- 0.0.1 — 2015-03-18

## README

nodejs-log
===========

## Very Simple Colorful Console Logging

# Install

```bash
  npm install nodejs-log
```

# Examples:

```js
var Logger = require('../logger.js');

// Show Level warn, error or info
Logger.debugLevel = 'info';

// Result: [info] This is my Message!
Logger.warn('This is my Message!');

// Result: [error] [Test] This is my Message!
Logger.error('This is my Message!', 'Test');

// Result: [info] This is my Message!
Logger.info('This is my Message!');

// Result: [debug] [Test] This is my Message!
Logger.debug('This is my Message!', 'Test');
```

# The MIT License (MIT)

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