Crate slog_atomic [−] [src]
Slog atomic switching drain
Using AtomicSwitch
it's possible to change drain
hierarchy behavior atomically, race-free, in runtime,
which can be useful eg. for turning debugging logging
in production.
Structs
AtomicSwitch |
Drain allowing atomically switching a sub-drain in runtime |
AtomicSwitchCtrl |
Handle to |