Struct syslog::Logger [] [src]

pub struct Logger { /* fields omitted */ }

Main logging structure

Methods

impl Logger
[src]

format a message as a RFC 3164 log message

format RFC 5424 structured data as ([id (name="value")*])*

format a message as a RFC 5424 log message

Sends a basic log message of the format <priority> message

Sends a RFC 3164 log message

Sends a RFC 5424 log message

Sends a message directly, without any formatting

Changes facility

Trait Implementations

impl Log for Logger
[src]

Determines if a log message with the specified metadata would be logged. Read more

Logs the LogRecord. Read more