# @juntoz/mini-console-logger

> Mini logger to the console with colors

Latest version **1.0.1** (published 2019-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @juntoz/mini-console-logger
pnpm add @juntoz/mini-console-logger
yarn add @juntoz/mini-console-logger
bun add @juntoz/mini-console-logger
```

## 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.1 |
| Published | 2019-07-09 |
| First published | 2019-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Juntoz.com |
| Maintainers | katlimruiz |
| Keywords | juntoz, logger, logging, console, colors, nodejs |

## Links

- npm: https://www.npmjs.com/package/@juntoz/mini-console-logger
- Repository: https://github.com/Juntoz/mini-console-logger
- Homepage: https://github.com/Juntoz/mini-console-logger#readme
- Issues: https://github.com/Juntoz/mini-console-logger/issues
- npm.io page: https://npm.io/package/@juntoz/mini-console-logger

## Dependencies (1)

- [colors](https://npm.io/package/colors.md) ^1.3.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

- 1.0.1 (latest) — 2019-07-09
- 1.0.0 — 2019-07-09

## README

# mini-console-logger

Just very simple logger to use and configure

## Usage

Add dependency to project
`npm i @juntoz/mini-console-logger`

Use in your code
```
const logger = require('@juntoz/mini-console-logger');
logger.level = logger.consts.INFO;

// ...

logger.debug('My debug');
logger.info('My info');
logger.warn('My warn');
logger.error('My error');

// based on the current level, it will show
My info
My warn
My error
```

## Colors
Uses the `colors` library

error: red
warn: yellow
info: (no color assigned)
debug: grey

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