All my blog posts and articles.
Parchment - contextual logging in go
In many Go projects, structured logging becomes an essential tool for observability. When building microservices or backend APIs, logging with contextual information like request IDs, user IDs, or operation names becomes vital. One challenge, however, is passing logger instances through multiple layers of function calls without cluttering signatures or breaking separation of concerns. This is where parchment comes in — a minimalist wrapper around zerolog that enables logger propagation using Go’s native context.Context. ...