mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
wrapLog => run is a better name
This commit is contained in:
parent
42780df94f
commit
1183305d71
@ -25,7 +25,7 @@ export class BaseLogger {
|
|||||||
this._baseLogLevel = baseLogLevel;
|
this._baseLogLevel = baseLogLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
wrapLog(labelOrValues, callback, logLevel = this._baseLogLevel) {
|
run(labelOrValues, callback, logLevel = this._baseLogLevel) {
|
||||||
const item = new LogItem(labelOrValues, logLevel, this._platform, this._anonymize);
|
const item = new LogItem(labelOrValues, logLevel, this._platform, this._anonymize);
|
||||||
this._openItems.add(item);
|
this._openItems.add(item);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user