external_api: don't use the Jitsi Meet logger
This is for other applications to use, and it's currently only used for logging 1 line, so use console.error.
This commit is contained in:
parent
c233433243
commit
2ccd4968a4
|
@ -18,8 +18,6 @@ import {
|
|||
setVideoInputDevice
|
||||
} from './functions';
|
||||
|
||||
const logger = require('jitsi-meet-logger').getLogger(__filename);
|
||||
|
||||
const ALWAYS_ON_TOP_FILENAMES = [
|
||||
'css/all.css', 'libs/alwaysontop.min.js'
|
||||
];
|
||||
|
@ -618,7 +616,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
*/
|
||||
executeCommand(name, ...args) {
|
||||
if (!(name in commands)) {
|
||||
logger.error('Not supported command name.');
|
||||
console.error('Not supported command name.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue