SKILL38.4K installs3.7K

Golang Samber Slog

Structured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-multi), log sampling (slog-sampling), attribute formatting (slog-formatter), HTTP middleware (slog-fiber, slog-gin, slog-chi, slog-echo), and backend routing (slog-datadog, slog-sentry, slog-loki, slog-syslog, slog-logstash, slog-graylog...). Apply when using or adopting slog, or when the codebase already imports any github.com/samber/slog-* package.

Type
Skill
Author
samber
Category
Backend
GitHub stars
3.7K
Installs
38.4K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-samber-slog

Use cases


Frequently Asked Questions

Which packages does this skill cover?

The samber/slog-* family, including slog-multi, slog-sampling, slog-formatter, and backend-specific packages.

Which HTTP frameworks have middleware?

slog-fiber, slog-gin, slog-chi, and slog-echo are listed.

When does this skill apply?

When adopting slog or when a codebase already imports any github.com/samber/slog-* package.


About this skill

Covers structured logging extensions for Go built on samber/slog-* packages, including multi-handler pipelines, log sampling, attribute formatting, HTTP middleware for Fiber/Gin/Chi/Echo, and backend routing to Datadog, Sentry, Loki, Syslog, Logstash, and Graylog. Use when adopting slog or when a codebase already imports any samber/slog-* package. Fits into observability and backend logging setups.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills