wrapLog => run is a better name

This commit is contained in:
Bruno Windels 2021-02-12 18:36:21 +01:00
parent 42780df94f
commit 1183305d71

View File

@ -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);