Article Suggestion: “Provide Contextual Information in Log Messages”

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

Leider ist der Eintrag nur auf English verfügbar.

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

Falls du auf diesen Beitrag mit einem Artikel auf deiner eigenen Webseite geantwortet hast, kannst du hier die URL deines Beitrags eingeben. Dabei sollte es sich um die Permalink-URL handeln. Deine Antwort wird dann (möglicherweise nach der Moderation) auf dieser Seite angezeigt. Falls du deine Antwort aktualisieren oder entfernen möchtest, aktualisiere oder lösche deinen Beitrag auf deiner eigenen Webseite und gib die URL des Beitrags erneut ein. (Erfahre mehr über Webmentions.)