Hacker News new | past | comments | ask | show | jobs | submit login

The idea is to use an instance of logger to store messages related to some event, like serving a particular request or running a background job. If nothing happends, you discard everything and don't pollute logs. If you're not so lucky, it will flush all the messages, so you get a better picture of what was happening before the error. Compared to having just an info level logs that usually omit many relevant details.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: