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.
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.