var error = exports.error = function(response, reason) { response.writeHead(500); response.write(reason); response.end(); console.error(stylize('Error: ', 'red') + reason); }
Server.prototype.msg = function (cmd, msg) { if (this.config.verbose) { console.log(stylize(cmd, 'green') + ' ' + msg); } }