by zimbatm · 7y ago · 0 comments
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, ...).
Thank you! :)