slog-atomic 0.4.1

Atomic run-time controllable drain for slog-rs
Documentation

Slog atomic switching drain

AtomicSwitch allows swapping drain that it wraps atomically, race-free, in runtime. This can be useful eg. for turning on debug logging in production.

See slog signal.rs example