pub enum Severity {
Error,
Warning,
Info,
Debug,
}
Expand description
severity enum to denote severity of logging
§Examples
use humantalk::{Severity, Config};
let config = Config::default();
config.write(Severity::Error, "oh no!"); // non fatal
config.write(Severity::Debug, "this will not trigger if compiled with --release");
Variants§
Trait Implementations§
source§impl PartialEq for Severity
impl PartialEq for Severity
impl Eq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
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