alwaysontop: don't use the Grand Unified Logger

There are just a couple of logs in this feature, and it's a standalone bundle,
which would bloat it due to cascaded dependencis.
pull/4607/head
Saúl Ibarra Corretgé 5 years ago committed by Saúl Ibarra Corretgé
parent f863733dd3
commit 5276cb6bc8
  1. 4
      react/features/always-on-top/AudioMuteButton.js
  2. 4
      react/features/always-on-top/VideoMuteButton.js
  3. 3
      react/features/always-on-top/logger.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);
}
/**

@ -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);
}
/**

@ -1,3 +0,0 @@
import { getLogger } from '../base/logging/functions';
export default getLogger('features/always-on-top');
Loading…
Cancel
Save