diff --git a/src/logging/BaseLogger.ts b/src/logging/BaseLogger.ts index bd9b6811..311af22d 100644 --- a/src/logging/BaseLogger.ts +++ b/src/logging/BaseLogger.ts @@ -23,11 +23,10 @@ import {Platform} from "../platform/web/Platform.js"; type LabelOrValues = string | {l: string; [key: string]: unknown}; export abstract class BaseLogger { - protected _openItems: Set; + protected _openItems: Set = new Set(); protected _platform: Platform; constructor({platform}) { - this._openItems = new Set(); this._platform = platform; }