Struct slog_syslog::Streamer3164 [−][src]
pub struct Streamer3164 { /* fields omitted */ }
Expand description
Drain formatting records and writing them to a syslog ``Logger`
Uses mutex to serialize writes. TODO: Add one that does not serialize?
Implementations
pub fn new_with_level(
logger: Box<Logger<LoggerBackend, Formatter3164>>,
level: Level
) -> Self
pub fn new_with_level(
logger: Box<Logger<LoggerBackend, Formatter3164>>,
level: Level
) -> Self
Create new syslog ``Streamerusing given
format` and logging level.
Create new syslog ``Streamerusing given
format` and the default logging level.
Trait Implementations
Handle one logging statement (Record
) Read more
Avoid: Check if messages at the specified log level are maybe enabled for this logger. Read more
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Pass Drain
through a closure, eg. to wrap
into another Drain
. Read more
Filter logging records passed to Drain
Read more
Filter logging records passed to Drain
(by level) Read more
Map logging errors returned by this drain Read more
Ignore results returned by this drain Read more
Auto Trait Implementations
impl RefUnwindSafe for Streamer3164
impl Send for Streamer3164
impl Sync for Streamer3164
impl Unpin for Streamer3164
impl UnwindSafe for Streamer3164
Blanket Implementations
Mutably borrows from an owned value. Read more