Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Quick and easy logging when you're in a rush
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
package.json
test_log_buddy.js

README.md

Easy console debugging

It is currently only a partial port of the original ruby version: https://github.com/relevance/log_buddy

Install

npm install log-buddy

Usage

var d = require('log-buddy');

var a = 1
,   b = {a: a}
,   c = 'hello'
,   e = /hel/;

d(a,b,c,e);

prints:

 ====> a:  1
 ====> b:  { a: 1 }
 ====> c:  hello
 ====> e:  /hel/

Limitations

Do :

d(a,b,c);
d(e,f,g);

Don't :

d(a,b,c); d(e,f,g);
Something went wrong with that request. Please try again.