diff options
Diffstat (limited to 'lib/logger.js')
-rw-r--r-- | lib/logger.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/logger.js b/lib/logger.js index 5926bea..2e8101f 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -19,28 +19,20 @@ function Logger(store, abbsMap) { exports.Logger = Logger; Logger.prototype.addLogRecord = function(that) { - console.log("Adding log record!"); var rec = {}; rec.date = new Date(); rec.url = that.doc.location.toString(); rec.title = that.title; var comment = prompts.prompt( "Enter comments for this comment"); - console.log("comment = " + comment); if (comment && comment.length > 0) { - console.log("I am in!"); comment = comment.trim(); rec.comment = comment; - console.log("rec.comment = " + rec.comment); var dateStr = utilMod.getISODate(rec.date); - console.log("rec.date = " + rec.date + ", dateStr = " + dateStr); var urlStr = urlMod.URL(rec.url).host; - console.log("rec.url = " + rec.url + ", urlStr = " + urlStr); var recKey = dateStr + "+" + urlStr + "+" + that.bugNo; - console.log("recKey = " + recKey); - console.log("rec = " + rec.toSource()); if (this.store[recKey]) { this.store[recKey].comment += "<br/>\n" + comment; |