An Error Reporting Context Library

59 views
Skip to first unread message

George Psarakis

unread,
Dec 14, 2025, 9:41:43 PM (2 days ago) Dec 14
to golang-nuts
Hello all,

I wrote a small library that implements a portable way for attaching structured context to errors. This approach allows logging libraries such as zap and zerolog to meaningfully annotate the final log record at any layer where error reporting occurs. This avoids the need for redundant, repeated log messages without compromising context quality.

Here is the repository:

I'm looking forward to any feedback you'd like to share.
Reply all
Reply to author
Forward
0 new messages