Hacker News new | ask | show | jobs
by flatline3 5093 days ago
Moreover, you have, in your head, the log message that should be written.

At the time of writing the code, you're hopefully thinking through "how could this fail?"

There's your log message.