Struct slog::Duplicate [] [src]

pub struct Duplicate<D1: Drain, D2: Drain> { /* fields omitted */ }

Drain duplicating records into two other Drains

Can be nested for more than two outputs.

Methods

impl<D1: Drain, D2: Drain> Duplicate<D1, D2>
[src]

Create Duplicate

Trait Implementations

impl<D1: Drain, D2: Drain> Drain for Duplicate<D1, D2>
[src]

Type of potential errors returned during logging

Log one logging record Read more