Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

alwaysontop: don't use the Grand Unified Logger

Saúl Ibarra Corretgé5276cb6bc8a3
diff --git a/react/features/always-on-top/AudioMuteButton.js b/react/features/always-on-top/AudioMuteButton.js
index 505b707952..72ec473f5d 100644
--- a/react/features/always-on-top/AudioMuteButton.js
+++ b/react/features/always-on-top/AudioMuteButton.js
@@ -5,8 +5,6 @@
import AbstractAudioMuteButton from '../base/toolbox/components/AbstractAudioMuteButton';
import type { Props } from '../base/toolbox/components/AbstractButton';
-import logger from './logger';
-
const { api } = window.alwaysOnTop;
/**
@@ -72,7 +70,7 @@ export default class AudioMuteButton
audioAvailable,
audioMuted
}))
- .catch(logger.error);
+ .catch(console.error);
}
/**
diff --git a/react/features/always-on-top/VideoMuteButton.js b/react/features/always-on-top/VideoMuteButton.js
index 64c47812c6..913b605672 100644
--- a/react/features/always-on-top/VideoMuteButton.js
+++ b/react/features/always-on-top/VideoMuteButton.js
@@ -5,8 +5,6 @@
import AbstractVideoMuteButton from '../base/toolbox/components/AbstractVideoMuteButton';
import type { Props } from '../base/toolbox/components/AbstractButton';
-import logger from './logger';
-
const { api } = window.alwaysOnTop;
/**
@@ -72,7 +70,7 @@ export default class VideoMuteButton
videoAvailable,
videoMuted
}))
- .catch(logger.error);
+ .catch(console.error);
}
/**
diff --git a/react/features/always-on-top/logger.js b/react/features/always-on-top/logger.js
deleted file mode 100644
index 7324aa95a8..0000000000
--- a/react/features/always-on-top/logger.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import { getLogger } from '../base/logging/functions';
-
-export default getLogger('features/always-on-top');