Enum logcontrol::LogLevel
source · pub enum LogLevel {
Emerg,
Alert,
Crit,
Err,
Warning,
Notice,
Info,
Debug,
}
Expand description
A syslog log level as used by the systemd log control interface.
See POSIX syslog
or syslog(3)
for more information.
Variants§
Emerg
A panic condition; system is unusable.
Alert
Action must be taken immediately.
Crit
A critical condition.
Err
An error.
Warning
Warnings.
Notice
Normal, but significant, condition.
Info
Informational message.
Debug
Debug-level messages.
Trait Implementations§
source§impl PartialEq for LogLevel
impl PartialEq for LogLevel
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralEq for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
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