Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nisaacson/log-colors

A colorized winston console logger
https://github.com/nisaacson/log-colors

Last synced: about 1 month ago
JSON representation

A colorized winston console logger

Awesome Lists containing this project

README

        

# Log Colors
A colorized winston console logger. Sometimes you want a very simple logger which just logs to this console. However colors and pretty printing are useful enough to have as a default. For these cases use **log-colors**

# Installation
```bash
npm install -S log-colors
```

# Usage
Use as you would a standard winston logger

```javascript
var logger = require('log-colors')
logger.debug('this should be colorized and pretty-printed', {
foo: 'bar'
}
```

# Test
Execute the command
```bash
npm test
```