pub struct Logger { /* private fields */ }Implementations§
Source§impl Logger
impl Logger
pub fn builder(size: usize, log_op: Option<LoggerFileOptions>) -> Self
pub fn with_log_type(self, t: LogTo) -> Self
pub fn with_time(self, time: bool) -> Self
pub fn info<F, T>(&self, f: F)
pub fn error<F, T>(&self, f: F)
pub fn debug<F, T>(&self, f: F)
pub fn warning<F, T>(&self, f: F)
Auto Trait Implementations§
impl Freeze for Logger
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl !UnwindSafe for Logger
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