Struct fast_log::formats::FastLogFormat
source · pub struct FastLogFormat {
pub display_line_level: LevelFilter,
pub time_type: TimeType,
}
Fields§
§display_line_level: LevelFilter
§time_type: TimeType
Implementations§
source§impl FastLogFormat
impl FastLogFormat
pub fn new() -> FastLogFormat
sourcepub fn set_display_line_level(self, level: LevelFilter) -> Self
pub fn set_display_line_level(self, level: LevelFilter) -> Self
show line level
sourcepub fn set_time_type(self, time_type: TimeType) -> Self
pub fn set_time_type(self, time_type: TimeType) -> Self
set time_type
Trait Implementations§
source§impl RecordFormat for FastLogFormat
impl RecordFormat for FastLogFormat
fn do_format(&self, arg: &mut FastLogRecord)
Auto Trait Implementations§
impl RefUnwindSafe for FastLogFormat
impl Send for FastLogFormat
impl Sync for FastLogFormat
impl Unpin for FastLogFormat
impl UnwindSafe for FastLogFormat
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