What problem does it solve? Go's standard slog package provides a single handler, but production services need log sampling to control volume, PII scrubbing before records leave the process, routing errors to Sentry while info goes to Loki, and graceful flushing of batched sinks. This Skill provides the patterns and APIs to assemble those pipelines correctly using the samber/slog-* ecosystem. ## Core Features & Use Cases - Handler Composition: Combine handlers with slog-multi patterns (Fanout, Router, FirstMatch, Failover, Pool, Pipe) to route records by level, message, or attribute. - Throughput Control: Apply slog-sampling strategies (Uniform, Threshold, Absolute, Custom) to drop noise early while preserving error visibility. - Attribute Transformation & Sinks: Scrub PII with slog-formatter middleware, add HTTP middleware for Gin/Echo/Fiber/Chi, and ship logs to Datadog, Sentry, Loki, Kafka, Slack, and 15+ other backends. - Use Case: Route errors to Sentry unsampled while sending sampled info logs to Loki, with PII masked and trace IDs injected — all in one pipeline with proper shutdown flushing. ## Quick Start Set up a Go slog pipeline that routes error logs to Sentry and sampled info logs to Loki with PII scrubbing using the samber slog-multi, slog-sampling, and slog-formatter packages.