Struct syslog_ng_common::MessageFormatter [] [src]

pub struct MessageFormatter {
    // some fields omitted
}

Methods

impl MessageFormatter
[src]

fn new() -> MessageFormatter

fn set_prefix(&mut self, prefix: String)

fn format<'a, 'b, 'c>(&'a mut self, key: &'b str, value: &'c str) -> (&'a str, &'c str)

Trait Implementations

impl Clone for MessageFormatter
[src]

fn clone(&self) -> MessageFormatter

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more