pub struct xlogger_t { /* private fields */ }Expand description
Log client instance, should be created before using log function
Implementations§
Source§impl xlogger_t
impl xlogger_t
pub fn Log( &mut self, level: LOG_LEVEL, position: &str, err: RESULT, logDesc: &String, )
pub fn set_log_level(&mut self, new_level: LOG_LEVEL)
pub fn Alertf(&mut self, postion: &str, err: RESULT, logDesc: &String)
pub fn Errorf(&mut self, postion: &str, err: RESULT, logDesc: &String)
pub fn Warningf(&mut self, postion: &str, err: RESULT, logDesc: &String)
pub fn Infof(&mut self, postion: &str, err: RESULT, logDesc: &String)
pub fn Debugf(&mut self, postion: &str, err: RESULT, logDesc: &String)
pub fn PrintStats(&self)
Auto Trait Implementations§
impl Freeze for xlogger_t
impl RefUnwindSafe for xlogger_t
impl Send for xlogger_t
impl Sync for xlogger_t
impl Unpin for xlogger_t
impl UnwindSafe for xlogger_t
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