forked from mystiq/hydrogen-web
Explicitly check for undefined
This commit is contained in:
parent
14eaa57434
commit
8fce29caf7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export class LogFilter {
|
|||
}
|
||||
}
|
||||
// neither our children or us have a loglevel high enough, filter out.
|
||||
if (this._min && !Array.isArray(children) && item.logLevel < this._min) {
|
||||
if (this._min !== undefined && !Array.isArray(children) && item.logLevel < this._min) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue