From bd85dc239330be31c8af604c3c286326c663aba5 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 18 Feb 2021 15:38:32 +0100 Subject: [PATCH] children is undefined here actually, so filter wasn't working properly --- src/logging/LogFilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging/LogFilter.js b/src/logging/LogFilter.js index c889df9b..76bebcf1 100644 --- a/src/logging/LogFilter.js +++ b/src/logging/LogFilter.js @@ -38,7 +38,7 @@ export class LogFilter { } } // neither our children or us have a loglevel high enough, filter out. - if (this._min !== null && children === null && item.logLevel < this._min) { + if (this._min !== null && !Array.isArray(children) && item.logLevel < this._min) { return false; } else { return true;