Re:Show HN: Leg – Simple, elegant logging for Rust
by zimbatm on Tuesday May 28, 2019 @05:12AM
(#20028438)
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, ...).
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, ...).