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.
pull/4607/head
Saúl Ibarra Corretgé 5 years ago committed by Saúl Ibarra Corretgé
parent c233433243
commit 2ccd4968a4
  1. 4
      modules/API/external/external_api.js

@ -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…
Cancel
Save