slog-atomic 0.4.0

Unix terminal drain and formatter for slog-rs

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