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:
parent
f863733dd3
commit
5276cb6bc8
|
@ -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…
Reference in New Issue