Closed whatyouhide closed 1 year ago
I think this should be an opt-in config. Enabling debug logging in an application can be very noisy if we log every received frame by default.
I changed my mind about that after all the logger
work in Erlang. Now it's so easy to filter out logs, for example, that I think it might be even easier to just log and have folks use logger filters to weed out messages they don't want?
The logger filtering is opt out though right? So if you have a bunch of libraries logging you need to do a lot of work to only get your application logs.
@ericmj yes, it's opt-out, which is why I was leaning on sticking mostly with debug logs.
What were you thinking as opt in? A logs: boolean()
option when starting Mint connections?
Pull Request Test Coverage Report for Build 67e6569946fc2ecf60ce2ba2bf0c588af37c2f35-PR-390
💛 - Coveralls