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
|
||||
- change: Remove logger package
|
||||
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ class Logs {
|
|||
Logs._internal();
|
||||
|
||||
void addLogEvent(LogEvent logEvent) {
|
||||
logEvent.printOut();
|
||||
if (logEvent.level.index >= level.index) {
|
||||
outputEvents.add(logEvent);
|
||||
if (logEvent.level.index >= level.index) {
|
||||
logEvent.printOut();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: matrix_api_lite
|
||||
description: Dead simple data model for the matrix.org client-server API.
|
||||
version: 0.3.1
|
||||
version: 0.3.2
|
||||
homepage: https://famedly.com
|
||||
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in New Issue