fix: Log filter in wrong direction

This commit is contained in:
Christian Pauly 2021-06-10 09:21:20 +02:00
parent 9b3768300e
commit 3a6d224348
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 0.3.3
- fix: Log filter in wrong direction
## 0.3.2
- fix: Logs should only printed if loglevel is high enough

View File

@ -45,7 +45,7 @@ class Logs {
void addLogEvent(LogEvent logEvent) {
outputEvents.add(logEvent);
if (logEvent.level.index >= level.index) {
if (logEvent.level.index <= level.index) {
logEvent.printOut();
}
}

View File

@ -1,6 +1,6 @@
name: matrix_api_lite
description: Dead simple data model for the matrix.org client-server API.
version: 0.3.2
version: 0.3.3
homepage: https://famedly.com
environment: