From 0ac5d568652b7945a3d455f23e603e873965d590 Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Fri, 10 Jul 2020 23:03:36 +0200 Subject: [PATCH] must be const for backward compatibility --- js/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/logger.js b/js/logger.js index 122ba81a..0f33b473 100644 --- a/js/logger.js +++ b/js/logger.js @@ -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),