Struct slog::AtomicSwitch [] [src]

pub struct AtomicSwitch(_);

Drain allowing atomically switching a sub-drain in runtime

Trait Implementations

impl Drain for AtomicSwitch
[src]

Write one logging record As an optimization (avoiding allocations), loggers are responsible for providing a byte buffer, that Drain can use for their own needs. Read more