pub struct Logger { /* private fields */ }Implementations§
Source§impl Logger
 
impl Logger
pub fn new<S: AsRef<str>>(app_name: S) -> Self
pub fn with_console(self, level: LevelFilter) -> Self
pub fn with_explicit_directory<S: AsRef<str>>(self, dirname: S) -> Self
pub fn with_file<S: AsRef<str>>(self, filename: S, level: LevelFilter) -> Self
pub fn get_directory(&self) -> Option<&PathBuf>
pub fn apply(&mut self)
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