Caterpillar
Caterpillar is an awesome, simple, intuitive console logger for Node.js. It supports grouping of messages, filtering log levels, colors, times, modules, custom formatters and custom transports
Example
Running Normally
Running the console example with coffee examples/console.coffee
Running in Debug Mode (log level 7)
Running the console example with coffee examples/console.coffee -d
When you set the log level to level 7 (debug level), then the ConsoleFormatter
will also output a debug line, containing the time, file, function and line number of what triggered the log message
Using
Please refer to the console example for usage
Install
-
Install Node.js
-
Install CoffeeScript
npm -g install coffee-script
-
Install Caterpillar
npm install caterpillar
Thanks
Uses the following:
Inspired by the following:
License
Licensed under the MIT License
Copyright © 2011-2012 Benjamin Arthur Lupton