git ssb

0+

cel-desktop / ssb-pkg



Tree: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1

Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-79-npm / bunyan / bunyan.js

279 bytesRaw
1'use strict';
2
3var bunyan = require('bunyan');
4var fs = require('fs');
5
6var logger = bunyan.createLogger({
7 name: 'pkg',
8 streams: [ {
9 type: 'rotating-file',
10 path: 'pkg.log',
11 level: 'info'
12 } ]
13});
14
15if (logger) {
16 fs.unlinkSync('pkg.log');
17 console.log('ok');
18}
19

Built with git-ssb-web