Replace console.info with logger.info

Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
Dariusz Niemczyk 2021-10-15 16:32:15 +02:00 committed by Dariusz Niemczyk
parent 5290afcc4c
commit 2c66403b3c
11 changed files with 21 additions and 21 deletions

View file

@ -1452,7 +1452,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
if (state === "SYNCING" && prevState === "SYNCING") {
return;
}
console.info("MatrixClient sync state => %s", state);
logger.info("MatrixClient sync state => %s", state);
if (state !== "PREPARED") { return; }
this.firstSyncComplete = true;
@ -1818,7 +1818,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
group_id: groupId,
});
} else {
console.info("Ignoring showScreen for '%s'", screen);
logger.info("Ignoring showScreen for '%s'", screen);
}
}