4 ms·
This logging library seems to be aimed to be used in CLI application. Decision like adding colors and using emoji makes me believe that. For servers, structure
by zimbatm 7y ago
This logging library seems to be aimed to be used in CLI application. Decision like adding colors and using emoji makes me believe that.
For servers, structured logging is a must. Each line should have a timestamp like you said. The API should include a context object that can hold information to be logged on each line (like a user ID, request ID, ...).
- jesusprubio 7y agoAn open minded in the forum? I can't believe. Thank you! :)