Open dballesteros7 opened 5 years ago
I could drop an assert() in here which would break in development mode. Would that solve the problem you ran into? Maybe you can explain a bit more about the issue you had? It might help me to ensure I come up with a reasonable fix.
No matter what I try, I do think it is important to preserve the property that the logger can't take the app down in production.
This line should do something:
https://github.com/google/quiver-log/blob/master/lib/src/log.dart#L39
At least in debug mode, otherwise it can lead to hard to debug issues with logging which is critical during development.