git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / 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