Struct slog::Duplicate
[−]
[src]
pub struct Duplicate<D1: Drain, D2: Drain> { /* fields omitted */ }
Drain
duplicating records into two other Drain
s
Can be nested for more than two outputs.
Methods
impl<D1: Drain, D2: Drain> Duplicate<D1, D2>
[src]
fn new(drain1: D1, drain2: D2) -> Self
Create Duplicate