# node-drop-logger

> Simple node logger

Latest version **1.0.0** (published 2013-07-08) · 0 weekly downloads

## Install

```sh
npm install node-drop-logger
pnpm add node-drop-logger
yarn add node-drop-logger
bun add node-drop-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.0 |
| Published | 2013-07-08 |
| First published | 2013-04-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | DropZone |
| Maintainers | duartemadueno |
| Keywords | logging, nodeJS |

## Links

- npm: https://www.npmjs.com/package/node-drop-logger
- Repository: https://github.com/DropZone/node-drop-logger
- Issues: https://github.com/DropZone/node-drop-logger/issues
- npm.io page: https://npm.io/package/node-drop-logger

## 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-07-08
- 0.0.3 — 2013-04-09
- 0.0.2 — 2013-04-09

## README

node-drop-logger
==============

Thanks to (https://github.com/visionmedia/log.js/)

Simple logging module for NodeJS with colored message level

```javascript
$ npm install node-drop-logger
```

DEBUG: white <br />
EMERGENCY|CRITICAL|ERROR: red <br />
WARNING: yellow <br />
NOTICE|INFO: cyan <br />
OTHERS: green <br />

Usage:
```javascript

var logger = new loggingModule({
	useConsole: true,							// boolean: true|false
	useFile: true,								// boolean: true|false
	filePath: 'Log(%DATE%).log', 			// string
	level: 'DEBUG'								// [EMERGENCY|ALERT|CRITICAL|ERROR|WARNING|NOTICE|INFO|DEBUG]
});

logger.log('INFO', 'some text');
output: [2013-2-20 11:26:52] INFO some text

logger.info('some text');
output: [2013-2-20 11:26:52] INFO some text
```

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