node-bunyan-lite/test/process-exit.js

12 lines
259 B
JavaScript
Raw Permalink Normal View History

var bunyan = require('../lib/bunyan');
var log = bunyan.createLogger({
2014-06-01 05:25:06 +00:00
name: 'default',
streams: [ {
type: 'rotating-file',
path: __dirname + '/log.test.rot.log',
period: '1d',
count: 7
} ]
});
2014-06-01 05:25:06 +00:00
console.log('done');