# lucid-log

> A simple logger for nodejs applications

Latest version **0.0.3** (published 2022-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install lucid-log
pnpm add lucid-log
yarn add lucid-log
bun add lucid-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.3 |
| Published | 2022-09-16 |
| First published | 2022-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jijo Joseph |
| Maintainers | jijojosephk |
| Keywords | log, nodejs, console, color |

## Links

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

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

- 0.0.3 (latest) — 2022-09-16
- 0.0.2 — 2022-09-14
- 0.0.1 — 2022-09-13

## README

# lucid-log
A simple logger for nodejs applications.

This is at it's early stage of development and has very basic functionality. Please share your comments and suggestions, also report any bugs.

# Installation

`npm install lucid-log`

or 

`yarn add lucid-log`

# Usage

## Example 1:

```js

const { LucidLog } = require('lucid-log');
const logger = new LucidLog({
	levels: ['info','error','debug','warn']
});
logger.error('Unauthorized\n');
logger.debug('Welcome!\n');
logger.warn('Some functions might not work\n');
logger.info('You are using the latest version\n');

```

## Output
![](media/screenshot_1.png)

## Example 2:

```js

const { LucidLog } = require('.');
const logger = new LucidLog({
	levels: ['error','warn']
});
logger.error('Unauthorized\n');
logger.debug('Welcome!\n');
logger.warn('Some functions might not work\n');
logger.info('You are using the latest version\n');

```

## Output
![](media/screenshot_2.png)

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