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.
This commit is contained in:
Saúl Ibarra Corretgé
2019-09-06 16:29:23 +02:00
committed by Saúl Ibarra Corretgé
parent f863733dd3
commit 5276cb6bc8
3 changed files with 2 additions and 9 deletions
@@ -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);
}
/**
-3
View File
@@ -1,3 +0,0 @@
import { getLogger } from '../base/logging/functions';
export default getLogger('features/always-on-top');