go-logging

Installation
SKILL.md

Go Logging

Core Principle

Logs are for operators, not developers. Every log line should help someone diagnose a production issue. If it doesn't serve that purpose, it's noise.


Choosing a Logger

Normative: Use log/slog for new Go code.

slog is structured, leveled, and in the standard library (Go 1.21+). It covers the vast majority of production logging needs.

Related skills

More from cxuu/golang-skills

Installs
368
GitHub Stars
91
First Seen
Mar 15, 2026