Skip to content
This repository

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.

tag: v1.1.2

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 History.md
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 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.