Lightlines
By cxuu

go-logging

cxuu996 installs

Go logs that help diagnose production issues.

What it does

Guides structured logging in Go to make production issues easier to diagnose.

When to use it

Use when choosing or configuring Go logging, writing structured logs, deciding levels, adding request context, or migrating to slog.

How to use it

It changes how the agent implements Go logging by keeping messages static and putting dynamic values in structured attributes.

What you provide

  • An existing project

Latest review

What you need · 1

Requires Go 1.21+ for log/slog; testing handlers with testing/slogtest requires Go 1.22+.


Access · 0

No additional actions listed.