fix julian's console.log voodoo

This commit is contained in:
psychobunny
2016-03-31 12:26:51 -04:00
parent 8d86aecc83
commit a078fd82e7

View File

@@ -34,8 +34,9 @@ var pidFilePath = __dirname + '/pidfile',
Loader.init = function(callback) {
if (silent) {
console.log = function(value) {
output.write(value + '\n');
console.log = function() {
var args = Array.prototype.slice.call(arguments);
output.write(args.join(' ') + '\n');
};
}