pub struct Logs { /* private fields */ }Expand description
Logger config
Implementations§
Source§impl Logs
impl Logs
Sourcepub fn level_from_default_env(self) -> Result<Self, LogsError>
pub fn level_from_default_env(self) -> Result<Self, LogsError>
Filter log level from LOG environment variable
Sourcepub fn level_from_env<S: AsRef<str>>(self, name: S) -> Result<Self, LogsError>
pub fn level_from_env<S: AsRef<str>>(self, name: S) -> Result<Self, LogsError>
Filter log level from NAME environment variable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Logs
impl RefUnwindSafe for Logs
impl Send for Logs
impl Sync for Logs
impl Unpin for Logs
impl UnwindSafe for Logs
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