summaryrefslogtreecommitdiff
path: root/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils.js')
-rw-r--r--utils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils.js b/utils.js
index f6676e7..9bb550e 100644
--- a/utils.js
+++ b/utils.js
@@ -34,7 +34,7 @@ function isDebugModeEnabled() {
return new Settings().isDebugModeEnabled();
}
-class Logger {
+var Logger = class Logger {
constructor(settings) {
this._enabled = settings.isDebugModeEnabled();
}
@@ -42,9 +42,9 @@ class Logger {
info(message) {
if (!this._enabled) return;
- global.log(`[bluetooth-quick-connect] ${message}`);
+ log(`[bluetooth-quick-connect] ${message}`);
}
-}
+};
function addSignalsHelperMethods(prototype) {
prototype._connectSignal = function (subject, signal_name, method) {