SourceHorizon / logger

Small, easy to use and extensible logger which prints beautiful logs.
https://pub.dev/packages/logger
MIT License
197 stars 33 forks source link

Supress logging in tests #17

Closed gildurao closed 1 year ago

gildurao commented 1 year ago

👋

I was wondering, is there a way to supress logs when running flutter tests?

Bungeefan commented 1 year ago

I am not aware of a specific flag for when running flutter tests, however you could add a custom filter which returns false when running in tests.

Bungeefan commented 1 year ago

As this seems to be resolved, I am going to close this issue. If you need additional assistance or want to provide another solution, feel free to ping me and I will re-open the issue.