NewsBlur/node/log.js

14 lines
328 B
JavaScript
Raw Normal View History

// Generated by CoffeeScript 1.8.0
2013-05-01 12:51:59 -07:00
(function() {
var info;
info = function(username, message) {
var timestamp;
timestamp = new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '');
return console.log("[" + timestamp + "] ---> [" + username + "] " + message);
};
exports.info = info;
}).call(this);