You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
committed by
Dariusz Niemczyk
parent
5290afcc4c
commit
2c66403b3c
@@ -141,9 +141,9 @@ export default class PlainTextExporter extends Exporter {
|
||||
const exportEnd = performance.now();
|
||||
|
||||
if (this.cancelled) {
|
||||
console.info("Export cancelled successfully");
|
||||
logger.info("Export cancelled successfully");
|
||||
} else {
|
||||
console.info("Export successful!");
|
||||
logger.info("Export successful!");
|
||||
logger.log(`Exported ${res.length} events in ${(exportEnd - fetchStart)/1000} seconds`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user