Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Caterpillar is the ultimate logging system for Node.js, based on transform streams you can log to it and pipe the output off to different locations, including some pre-made ones. Caterpillar also supports log levels according to the RFC standard, as well as line, method, and file fetching for messages.
JavaScript CoffeeScript
Tree: 5667a6d1a5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
src/lib
.gitignore
.npmignore
History.md
LICENSE.txt
Makefile
README.md
package.json

README.md

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

  1. Install Node.js

  2. Install Caterpillar

    npm install caterpillar
    

History

You can discover the history inside the History.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2012 Bevry Pty Ltd
Copyright © 2011 Benjamin Lupton

Thanks

Uses the following:

Inspired by the following:

Something went wrong with that request. Please try again.