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

@ -432,7 +432,7 @@ export default class HTMLExporter extends Exporter {
const exportEnd = performance.now();
if (this.cancelled) {
console.info("Export cancelled successfully");
logger.info("Export cancelled successfully");
} else {
this.updateProgress("Export successful!");
this.updateProgress(`Exported ${res.length} events in ${(exportEnd - fetchStart)/1000} seconds`);