pub struct LoggerConfig {
pub level: LevelFilter,
pub file: Option<String>,
}Expand description
The configuration of the logger.
Fields§
§level: LevelFilterThe highest level that is written.
file: Option<String>The file the log is appended to, when there is one.
Trait Implementations§
Source§impl Clone for LoggerConfig
impl Clone for LoggerConfig
Source§impl Debug for LoggerConfig
impl Debug for LoggerConfig
Auto Trait Implementations§
impl Forget for LoggerConfig
impl Freeze for LoggerConfig
impl RefUnwindSafe for LoggerConfig
impl Send for LoggerConfig
impl Sync for LoggerConfig
impl Unpin for LoggerConfig
impl UnsafeUnpin for LoggerConfig
impl UnwindSafe for LoggerConfig
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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