fix: Logs should only printed if loglevel is high enough
This commit is contained in:
parent
73a2f38698
commit
9b3768300e
|
|
@ -1,3 +1,6 @@
|
||||||
|
## 0.3.2
|
||||||
|
- fix: Logs should only printed if loglevel is high enough
|
||||||
|
|
||||||
## 0.3.1
|
## 0.3.1
|
||||||
- change: Remove logger package
|
- change: Remove logger package
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@ class Logs {
|
||||||
Logs._internal();
|
Logs._internal();
|
||||||
|
|
||||||
void addLogEvent(LogEvent logEvent) {
|
void addLogEvent(LogEvent logEvent) {
|
||||||
logEvent.printOut();
|
outputEvents.add(logEvent);
|
||||||
if (logEvent.level.index >= level.index) {
|
if (logEvent.level.index >= level.index) {
|
||||||
outputEvents.add(logEvent);
|
logEvent.printOut();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: matrix_api_lite
|
name: matrix_api_lite
|
||||||
description: Dead simple data model for the matrix.org client-server API.
|
description: Dead simple data model for the matrix.org client-server API.
|
||||||
version: 0.3.1
|
version: 0.3.2
|
||||||
homepage: https://famedly.com
|
homepage: https://famedly.com
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue