Hacker News new | ask | show | jobs
by zimbatm 2580 days 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, ...).

1 comments

An open minded in the forum? I can't believe.

Thank you! :)