add explicit void return type

This commit is contained in:
Bruno Windels 2021-11-17 12:37:50 +01:00
parent 5f362cbdbd
commit b1d20178f8

View file

@ -28,7 +28,7 @@ export abstract class BaseLogger implements ILogger {
this._platform = platform;
}
log(labelOrValues: LabelOrValues, logLevel: LogLevel = LogLevel.Info) {
log(labelOrValues: LabelOrValues, logLevel: LogLevel = LogLevel.Info): void {
const item = new LogItem(labelOrValues, logLevel, this);
item.end = item.start;
this._persistItem(item, undefined, false);