pub struct EZRecordBuilder { /* private fields */ }Expand description
EZRecord’s builder
Implementations§
Source§impl EZRecordBuilder
impl EZRecordBuilder
pub fn new() -> EZRecordBuilder
pub fn level(&mut self, level: Level) -> &mut Self
pub fn target(&mut self, target: String) -> &mut Self
pub fn timestamp(&mut self, timestamp: i64) -> &mut Self
pub fn time(&mut self, time: OffsetDateTime) -> &mut Self
pub fn thread_id(&mut self, thread_id: usize) -> &mut Self
pub fn thread_name(&mut self, thread_name: String) -> &mut Self
pub fn content(&mut self, content: String) -> &mut Self
pub fn log_name(&mut self, name: String) -> &mut Self
pub fn build(&mut self) -> EZRecord
Trait Implementations§
Source§impl Debug for EZRecordBuilder
impl Debug for EZRecordBuilder
Auto Trait Implementations§
impl Freeze for EZRecordBuilder
impl RefUnwindSafe for EZRecordBuilder
impl Send for EZRecordBuilder
impl Sync for EZRecordBuilder
impl Unpin for EZRecordBuilder
impl UnwindSafe for EZRecordBuilder
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