git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

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