What problem does it solve? Go services generating high log volumes need structured pipelines that sample noise, scrub PII, and route records to the right backends without wasting CPU or losing buffered logs on shutdown. This Skill provides the canonical ordering and composition patterns for building such pipelines with the samber/slog-* ecosystem. ## Core Features & Use Cases - Pipeline composition: Combine Fanout, Router, FirstMatch, Failover, Pool, and Pipe handlers from slog-multi with correct ordering (sampling → formatting → routing → sinks). - Sampling and formatting: Apply Uniform, Threshold, Absolute, or Custom sampling strategies plus PII, error, and IP address formatters as middleware. - Backend sinks and middleware: Ship logs to Datadog, Sentry, Loki, Kafka, Slack, and more, with HTTP middleware for Gin, Echo, Fiber, Chi, and net/http. - Use Case: Route error logs to Sentry unsampled while sending sampled info logs to Loki, with PII scrubbed before any sink receives records. ## Quick Start Design a Go slog pipeline that routes errors to Sentry and sampled info logs to Loki with PII formatting applied first.