pub struct ZuluTimeMessageFormatter;Expand description
Default formatter when time info is available. Formats according to RFC 822, with Zulu time.
Trait Implementations§
Source§impl Clone for ZuluTimeMessageFormatter
impl Clone for ZuluTimeMessageFormatter
Source§fn clone(&self) -> ZuluTimeMessageFormatter
fn clone(&self) -> ZuluTimeMessageFormatter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl MessageFormatter for ZuluTimeMessageFormatter
Available on crate feature time only.
impl MessageFormatter for ZuluTimeMessageFormatter
Available on crate feature
time only.Source§fn format_message(
&self,
logger_name: &str,
level_string: &str,
message: &str,
) -> String
fn format_message( &self, logger_name: &str, level_string: &str, message: &str, ) -> String
Format a standard message.
Source§fn add_logger_name_to_multi_message(
&self,
logger_name: &str,
formatted_multi_msg: &str,
) -> String
fn add_logger_name_to_multi_message( &self, logger_name: &str, formatted_multi_msg: &str, ) -> String
Format for messages being sent onward by a multi-logger.
logger_name is the name of the next logger. formatted_multi_msg is the
message as formatted by the multi-logger’s format_message method.
fn add_defaulting_name_to_message( &self, default_logger_name: &str, formatted_msg: &str, ) -> String
Auto Trait Implementations§
impl Freeze for ZuluTimeMessageFormatter
impl RefUnwindSafe for ZuluTimeMessageFormatter
impl Send for ZuluTimeMessageFormatter
impl Sync for ZuluTimeMessageFormatter
impl Unpin for ZuluTimeMessageFormatter
impl UnwindSafe for ZuluTimeMessageFormatter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more