# @myndzi/logger

> A simple logger for node and phantom

Latest version **0.1.3** (published 2015-11-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @myndzi/logger
pnpm add @myndzi/logger
yarn add @myndzi/logger
bun add @myndzi/logger
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-11-06 |
| First published | 2015-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kris Reeves |
| Maintainers | myndzi |

## Links

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

## Recent versions

- 0.1.3 (latest) — 2015-11-06

## README

#Logger
A simple logger made for cleaner screen output. No dependencies, requires ANSI support. Works on phantomjs and node.

##Usage

    var Logger = require('logger'),
		log = new Logger(name, level);
	
	log.info('not too bad');

##Levels
There are four levels: silly, info, warn, and error. Each is displayed in a different color with a different prefix. If a log method is called on a log level that is hidden, it will return false, enabling you to chain verbosity like so:

    log.silly('Very verbose message') ||
	log.info('Brief message') ||
	log.warn('Why so ignore?');

##Sample
![Example output](sample.png)

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