# log-color

> Log.js + color.

Latest version **1.0.0** (published 2013-03-01) · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2013-03-01 |
| First published | 2013-03-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.21 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Keiji Matsuzaki |
| Maintainers | futoase |
| Keywords | log, logger |

## Links

- npm: https://www.npmjs.com/package/log-color
- npm.io page: https://npm.io/package/log-color

## Dependencies (1)

- [cli-color](https://npm.io/package/cli-color.md) 0.2.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.0 (latest) — 2013-03-01

## README

## Log.js+color

    Log.js+color is fork of Log.js.

## Installation

    $ npm install log-color

## Example

See to [Log.js](https://github.com/visionmedia/log.js/).
Can be using similar.

Code snipet:

    var Log = require('log')
      , log = new Log('info');

    log.info('SEND MAIL: send message to the hoge@example.com');


### Color setting

Color setting:

    var Log = require('log-color')
      , log = new Log({ level: 'debug', color: true });

    log.warning('SEND MAIL: do not send message to the hoge@example.com');


## Log level

Log level:

    log.alert('alert');
    log.critical('critical');
    log.error('error');
    log.warning('warning');
    log.notice('notice');
    log.info('info');
    log.debug('debug'); 

## License 

(The MIT License) 

Copyright (c) 2013 Keiji Matuzaki futoase@gmail.com

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