Skip to content

a lite version of bunyan, a JSON logging library for node.js services without dtrace or moment

Notifications You must be signed in to change notification settings

nfp-projects/node-bunyan-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Bunyan-lite is a simple and fast JSON logging library for node.js services that contains zero dependencies:

var bunyan = require('bunyan-lite');
var log = bunyan.createLogger({name: "myapp"});
log.info("hi");

and a bunyan CLI tool for nicely viewing those logs:

bunyan CLI screenshot

Manifesto: Server logs should be structured. JSON's a good format. Let's do that. A log record is one line of JSON.stringify'd output. Let's also specify some common names for the requisite and common fields for a log record (see below).

Attention

Due to many of the fallbacks and issues on how github is being managed, all code and repository has been moved over to https://git.nfp.is/TheThing/node-bunyan-lite

About

a lite version of bunyan, a JSON logging library for node.js services without dtrace or moment

Resources

Stars

Watchers

Forks

Packages

No packages published