3 ms·
Because libraries don't know where or even how the user wants it to log.
by charcircuit 11mo ago
Because libraries don't know where or even how the user wants it to log.
- Hackbraten 11mo agoThat's why a library (if it absolutely must do logging) should always allow the user to optionally inject their own logger implementation.