Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

sorellabs/baselog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baselog

Build Status NPM version Dependencies Status stable

Core library for logging anything.

Platform support

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

browser support

Example

var baselog = require('baselog')
var logger = baselog.Logbook.make(baselog.level.warning)

logger.info('foo')
// => 

logger.critical('bar')
// => [Tue Mar 19 2013 01:10:49 GMT-0300 (BRT)] CRITICAL: bar

Installing

Just grab it from NPM:

$ npm install baselog

Documentation

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

$ npm install -g calliope
$ calliope build

Tests

You can run all tests using Mocha:

$ npm test

Licence

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

About

Core library for logging anything.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published