must be const for backward compatibility

This commit is contained in:
Stephan Huber 2020-07-10 23:03:36 +02:00
parent 862bf78e63
commit 0ac5d56865

View File

@ -19,7 +19,7 @@
root.Log = factory(root.config);
}
})(this, function (config) {
let logLevel = {
const logLevel = {
info: Function.prototype.bind.call(console.info, console),
log: Function.prototype.bind.call(console.log, console),
error: Function.prototype.bind.call(console.error, console),