Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
parent
5290afcc4c
commit
2c66403b3c
11 changed files with 21 additions and 21 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue