pub enum LogLevel {
Info,
Ok,
Error,
Warning,
}
Expand description
these are possible levels for a log. we can use them as follows:
use catsh_core::logs::LogLevel;
let log_level_error = LogLevel::Error;
let log_level_warning = LogLevel::Warning;
the functionality possible here is very basic,
that is why it is usually used together with the Log
structure
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
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