caterpillar
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "caterpillar", | ||
"version": "0.1.0", | ||
"description": "Caterpillar is an awesome, simple console logging framework. It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports. It's awesome.", | ||
"version": "0.1.1", | ||
"description": "Caterpillar is an awesome, simple console logger for node.js. It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports. It's awesome.", | ||
"homepage": "https://github.com/balupton/caterpillar.npm", | ||
@@ -51,5 +51,2 @@ "keywords": [ | ||
}, | ||
"bin": { | ||
"docpad": "./bin/caterpillar.coffee" | ||
}, | ||
"directories": { | ||
@@ -56,0 +53,0 @@ "lib": "lib" |
# Caterpillar | ||
Caterpillar is an awesome, simple console logging framework for [Node.js](http://nodejs.org/). It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports. | ||
Caterpillar is an awesome, simple, intuitive console logger for [node.js](http://nodejs.org/). It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports. | ||
@@ -10,10 +10,10 @@ | ||
<img src="https://github.com/balupton/caterpillar.npm/raw/master/media/caterpillar-84x21.png"/> | ||
<img src="https://github.com/balupton/caterpillar.npm/raw/master/media/caterpillar.npm.png"/> | ||
``` coffeescript | ||
# Requires | ||
catepillar = require "#{__dirname}/../lib/caterpillar.coffee" | ||
caterpillar = require "#{__dirname}/../lib/caterpillar.coffee" | ||
# Create | ||
logger = new catepillar.Logger | ||
logger = new caterpillar.Logger | ||
transports: | ||
@@ -26,7 +26,14 @@ level: 7 | ||
for own name,code of logger.config.levels | ||
logger.log name, "this is #{name}" | ||
logger.log name, "this is #{name} and is level #{code}" | ||
# Standard | ||
logger.log '' | ||
logger.log 'this is awesome' | ||
logger.log 'this','is','awesome' | ||
# Colors | ||
colors = caterpillar.colors | ||
logger.log '' | ||
logger.log 'this is', colors.magenta.bold.italic.underline('awesome') | ||
# Grouping | ||
@@ -53,3 +60,3 @@ logger.config.autoFlush = false | ||
1. Install DocPad | ||
1. Install Caterpillar | ||
@@ -59,3 +66,2 @@ npm install caterpillar | ||
## Thanks | ||
@@ -62,0 +68,0 @@ |
Sorry, the diff of this file is not supported yet
64052
82