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:
Saúl Ibarra Corretgé 2019-09-06 12:57:52 +02:00 committed by Saúl Ibarra Corretgé
parent c233433243
commit 2ccd4968a4
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}