diff --git a/src/logging/LogFilter.ts b/src/logging/LogFilter.ts index 4da7d457..480e92db 100644 --- a/src/logging/LogFilter.ts +++ b/src/logging/LogFilter.ts @@ -37,7 +37,7 @@ export class LogFilter { this._parentFilter = parentFilter; } - filter(item: LogItem, children: Array | null) { + filter(item: LogItem, children: Array | null): boolean { if (this._parentFilter) { if (!this._parentFilter.filter(item, children)) { return false; @@ -52,7 +52,7 @@ export class LogFilter { } /* methods to build the filter */ - minLevel(logLevel: LogLevel) { + minLevel(logLevel: LogLevel): LogFilter { this._min = logLevel; return this; }