https://github.com/nisaacson/log-colors
A colorized winston console logger
https://github.com/nisaacson/log-colors
Last synced: 20 days ago
JSON representation
A colorized winston console logger
- Host: GitHub
- URL: https://github.com/nisaacson/log-colors
- Owner: nisaacson
- Created: 2013-03-19T23:34:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-19T23:41:56.000Z (over 12 years ago)
- Last Synced: 2025-06-13T13:08:09.826Z (20 days ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```