pub enum LogLevel {
Emergency,
Alert,
Critical,
Error,
Warning,
Notice,
Info,
Debug,
}Expand description
Log level for MCP notifications (RFC 5424 compatible)
Variants§
Emergency
System is unusable (0)
Alert
Action must be taken immediately (1)
Critical
Critical conditions (2)
Error
Error conditions (3)
Warning
Warning conditions (4)
Notice
Normal but significant events (5)
Info
Informational messages (6)
Debug
Detailed debugging information (7)
Implementations§
Trait Implementations§
Source§impl Ord for LogLevel
impl Ord for LogLevel
Source§impl PartialOrd for LogLevel
impl PartialOrd for LogLevel
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralPartialEq for LogLevel
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