pub struct VersaLog { /* private fields */ }Implementations§
Source§impl VersaLog
impl VersaLog
pub fn log(&self, msg: String, level: String, tags: &[&str])
pub fn set_silent(&mut self, silent: bool)
pub fn install_panic_hook(self: Arc<Self>)
pub fn handle_exception( &self, exc_type: &str, exc_value: &str, exc_traceback: &str, )
pub fn Info(&self, msg: &str, tags: &[&str])
pub fn Error(&self, msg: &str, tags: &[&str])
pub fn Warning(&self, msg: &str, tags: &[&str])
pub fn Debug(&self, msg: &str, tags: &[&str])
pub fn Critical(&self, msg: &str, tags: &[&str])
pub fn info(&self, msg: &str, tags: &[&str])
pub fn error(&self, msg: &str, tags: &[&str])
pub fn warning(&self, msg: &str, tags: &[&str])
pub fn debug(&self, msg: &str, tags: &[&str])
pub fn critical(&self, msg: &str, tags: &[&str])
pub fn Info_no_tag(&self, msg: &str)
pub fn Error_no_tag(&self, msg: &str)
pub fn Warning_no_tag(&self, msg: &str)
pub fn Debug_no_tag(&self, msg: &str)
pub fn Critical_no_tag(&self, msg: &str)
pub fn Step(&self, title: &str, step: usize, total: usize, tags: &[&str])
pub fn Progress(&self, title: &str, current: usize, total: usize, tags: &[&str])
pub fn Timer<'a>(&'a self, title: &str, tags: &[&str]) -> TimerGuard<'a>
Auto Trait Implementations§
impl Freeze for VersaLog
impl RefUnwindSafe for VersaLog
impl Send for VersaLog
impl Sync for VersaLog
impl Unpin for VersaLog
impl UnsafeUnpin for VersaLog
impl UnwindSafe for VersaLog
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