Article Suggestion: “Provide Contextual Information in Log Messages”

Home » Blog » Software » Article Suggestion: “Provide Contextual Information in Log Messages”

Software developer Tom Hombergs recently wrote an article about making log statements more useful by providing context in order to make it easier for a developer who uses your libraries or builds upon your code to find out what the actual cause of an error is.

The blog post contains many pertinent examples of both good and bad log output.

Seemingly trivial improvements such as making your log output more helpful and explicit can make a huge difference and save a lot of time and effort.

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)