Crate slog_atomic [−] [src]
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.
Structs
AtomicSwitch |
Drain wrapping another drain, allowing atomic substitution in runtime |
AtomicSwitchCtrl |
Handle to |