pub struct Logger { /* private fields */ }
Expand description
ftlog global logger
Implementations§
source§impl Logger
impl Logger
pub fn init(self) -> Result<LoggerGuard, SetLoggerError>
Trait Implementations§
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