node package manager


Core library for logging anything.


Core library for logging anything.

This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3

var baselog = require('baselog')
var logger = baselog.Logbook.make(baselog.level.warning)'foo')
// =>  
// => [Tue Mar 19 2013 01:10:49 GMT-0300 (BRT)] CRITICAL: bar 

Just grab it from NPM:

$ npm install baselog

A quick reference of the API can be built using Calliope:

$ npm install -g calliope
$ calliope build

You can run all tests using Mocha:

$ npm test

MIT/X11. ie.: do whatever you want.