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: https://github.com/georgepsarakis/errorcontext I'm looking forward to any feedback you'd like to share. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/9f3ae2c9-2c26-49e9-aea8-20ee9ee86fcdn%40googlegroups.com.
