git ssb

0+

cel-desktop / ssb-pkg



Tree: 8f4b43a09aab9801bf28987edd59c2e366180327

Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / test / test-79-npm / winston-uber / winston-uber.js

417 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-uber');
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