Skip to content

Commit

Permalink
BOOMR.log: Add timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Apr 4, 2018
1 parent 583536b commit dda7f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boomerang.js
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ BOOMR_check_doc_domain();
var make_logger;

if (typeof console === "object" && console.log !== undefined) {
boomr.log = function(m, l, s) { console.log(s + ": [" + l + "] " + m); };
boomr.log = function(m, l, s) { console.log(BOOMR.now() + ": " + s + ": [" + l + "] " + m); };
}

make_logger = function(l) {
Expand Down

0 comments on commit dda7f2b

Please sign in to comment.