| 1 2 3 4 5 6 7 8 9 10 11 12 13 | 1× 1× 3× | 'use strict';
var debug = require('debug');
module.exports = function(thing){
return {
log: function(){
var args = Array.prototype.slice.call(arguments);
console.log(args.join(' '));
},
debug: debug('esw:' + thing)
};
};
|