# cololog

> Colorful console logging made simple.

Latest version **1.0.4** (published 2023-10-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install cololog
pnpm add cololog
yarn add cololog
bun add cololog
```

## 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.4 |
| Published | 2023-10-11 |
| First published | 2023-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | chethanyadav456 |
| Maintainers | chethanyadav456 |
| Keywords | ColoLog, logger, console, log, colorful, color, colors, colorful console, colorful console log, colorful console logger, colorful console logging, logging |

## Links

- npm: https://www.npmjs.com/package/cololog
- Repository: https://github.com/chethanyadav456/ColoLog
- Homepage: https://github.com/chethanyadav456/ColoLog#readme
- Issues: https://github.com/chethanyadav456/ColoLog/issues
- npm.io page: https://npm.io/package/cololog

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^4.1.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.4 (latest) — 2023-10-11
- 1.0.3 — 2023-09-26
- 1.0.2 — 2023-09-26
- 1.0.1 — 2023-09-24
- 1.0.0 — 2023-09-24

## README

<p align="center"><a href="https://nodei.co/npm/cololog/"><img src="https://nodei.co/npm/cololog.png"></a></p>
<p align="center"><img src="https://img.shields.io/npm/v/cololog"> <img src="https://img.shields.io/npm/dm/cololog?label=downloads"> <img src="https://img.shields.io/npm/l/cololog"> <img src="https://img.shields.io/github/repo-size/chethanyadav456/cololog">  <a href="https://discord.gg/R33e7Pm5YV"><img src="https://discordapp.com/api/guilds/810116763639087124/widget.png" alt="Discord server"/></a></p>

# ColoLog

ColoLog Logger is a lightweight and easy-to-use JavaScript logging utility that enhances your console logging experience. It allows you to add colorful log messages with various log levels (log, info, warn, error) to your Node.js or browser applications. With a clean and customizable layout, it's perfect for enhancing your project's debugging and monitoring capabilities.

**Features:**
- Lightweight and minimal setup
- Colorful log messages for improved readability
- Support for different log levels
- Customizable log prefix for easy identification
- Simplifies and enhances console logging

---

## Installation

Install ColoLog using npm:

```bash
npm install cololog
```

```bash
yarn add cololog
```

## Usage

To use ColoLog in your project, import the module and create a new instance of the logger. You can then use the logger to log messages to the console.

```javascript
const CustomLogger = require('cololog');


// Create a new instance of the logger
const logger = new CustomLogger('MyApp');


// Log messages to the console
logger.log('This is a log message.');
logger.info('This is an info message.');
logger.warn('This is a warning message.');
logger.error('This is an error message.');
```

---
**Output:**
<p align="center"><img src="cololog.png"></p>

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