# col-log

> A simple logger which takes log-level and color as input and displays the corresponding output. Log-levels include : * log * info * warn * error

Latest version **0.0.9** (published 2018-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install col-log
pnpm add col-log
yarn add col-log
bun add col-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.9 |
| Published | 2018-02-06 |
| First published | 2018-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ayan Dalal |
| Maintainers | dalalayan1 |
| Keywords | console, log, info, info, warn, error |

## Links

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

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0

## 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.9 (latest) — 2018-02-06
- 0.0.8 — 2018-02-06
- 0.0.7 — 2018-02-06
- 0.0.6 — 2018-02-06
- 0.0.5 — 2018-02-06
- 0.0.4 — 2018-02-06
- 0.0.3 — 2018-02-06
- 0.0.2 — 2018-02-06
- 0.0.1 — 2018-02-05

## README

# color-logger

A simple logger which takes log-level and color as input and displays the corresponding output.
<br>
Log-levels include : 
* log
* info
* warn
* error

The function takes 3 parameters :
* @params1(type: string) - log-level
* @params2(type: string) - color
* @params3(type: string) - text

## Install :
```
npm install col-log
```

## Code:
```js
import colog from 'col-log';

colog("log","green","Hey how you doin?");
```

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