dnode-spider
Version:
asynchronous rpc system for node.js, bi-direction and poly-direction communication...
15 lines (14 loc) • 347 B
JavaScript
var Winston = require('winston');
module.exports = function(module) {
return new Winston.Logger({
transports: [
new Winston.transports.Console({
colorize: true,
level: 'debug',
label: 'dnode-spider( '+module.filename.split('/').slice(-2).join('/')+' )',
handleExceptions: true,
json: false,
}),
],
});
}