pub struct LoggingConfig { /* private fields */ }Implementations§
Source§impl LoggingConfig
impl LoggingConfig
pub fn new(main_module_name: &'static str, level: Level) -> Self
pub fn level_for(self, name: &'static str, level: Level) -> Self
pub fn level_names(self, get: fn(level: Level) -> &'static str) -> Self
pub fn minimal(self) -> Self
pub fn dispatch(self) -> Dispatch
pub fn build(self) -> Result<(), SetLoggerError>
Auto Trait Implementations§
impl Freeze for LoggingConfig
impl RefUnwindSafe for LoggingConfig
impl Send for LoggingConfig
impl Sync for LoggingConfig
impl Unpin for LoggingConfig
impl UnwindSafe for LoggingConfig
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