Closed your-diary closed 1 year ago
I found an related issue in the original repository: https://github.com/simc/logger/issues/48
Given the fact that logger
can be used in pure Dart (i.e. without Flutter), isn't the term "debug" and "release" confusing?
It may be helpful to explicitly refer to the need of --enable-asserts
not only in the documentation of DevelopmentFilter but also in README.md.
Anyway, closing...
How to Reproduce
Create a Dart project.
Edit
bin/abc.dart
.void main() { final logger = Logger(level: Level.debug); logger.i("hello"); }
$ dart run #Nothing is printed.