git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / winston / winston.js

412 bytesRaw
1/* eslint-disable no-underscore-dangle */
2
3'use strict';
4
5process.stdout._write_ = process.stdout.write;
6process.stdout.write = function (m) {
7 process.stdout._write_(m.slice(m.indexOf(': ') + 2));
8};
9
10var winston = require('winston');
11var Logger = winston.Logger;
12var Console = winston.transports.Console;
13new Logger({ transports: [ new Console() ] }); // eslint-disable-line no-new
14winston.log('info', 'ok');
15

Built with git-ssb-web