All Tools
C
Dev ToolsFreeOpen Source
CHARM LOG
Colorful structured logging for Go CLIs
MIT
ABOUT
Go agent CLIs need human-readable logs locally and structured logs in production. Charm Log styles leveled output with Lip Gloss, supports JSON and logfmt, and plugs into slog so the same logger works in TUIs and services.
INSTALL
go get charm.land/log/v2@latestINTEGRATION GUIDE
1. Log agent tool calls with key-value pairs in a Charm CLI
2. Emit JSON logs from a Go worker while keeping colorful local output
3. Attach a logger to context for per-request inference traces
4. Wrap stdlib log or slog so existing packages share Charm formatting
TAGS
gologgingclistructured-loggingcharmbraceletslog