pub struct EZRecord { /* private fields */ }Expand description
Single Log record
Implementations§
source§impl EZRecord
impl EZRecord
pub fn builder() -> EZRecordBuilder
pub fn level(&self) -> Level
pub fn target(&self) -> &str
pub fn timestamp(&self) -> i64
pub fn thread_id(&self) -> usize
pub fn thread_name(&self) -> &str
pub fn content(&self) -> &str
pub fn log_name(&self) -> &str
pub fn time(&self) -> &OffsetDateTime
pub fn file(&self) -> Option<&str>
pub fn line(&self) -> Option<u32>
pub fn to_builder(&self) -> EZRecordBuilder
pub fn to_trunk_builder(&self) -> EZRecordBuilder
pub fn t_id(&self) -> String
pub fn trunks(&self, config: &EZLogConfig) -> Vec<EZRecord>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EZRecord
impl Send for EZRecord
impl Sync for EZRecord
impl Unpin for EZRecord
impl UnwindSafe for EZRecord
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