orgsync-logger
v1.4.0
Published
A simple logging utility for OrgSync's node services.
Downloads
77
Readme
OrgSync Logger Node
A simple logging utility for OrgSync's node services.
Install
npm install orgsync-logger
Usage
var log = require('orgsync-logger');
log.configure({
name: 'my-app',
colors: true, // forced to `false` when `dir` is set
level: 'info',
metrics: true,
dir: 'log' // absolute, or relative to command CWD, or falsey for stdout
});
Test
npm test