pub enum LogLevel {
    Debug,
    Info,
    Notice,
    Warning,
    Error,
    Critical,
}Expand description
Log level enumeration for MCP logging.
Variants§
Debug
Debug level logging (most verbose)
Info
Info level logging
Notice
Notice level logging
Warning
Warning level logging
Error
Error level logging
Critical
Critical level logging (least verbose)
Implementations§
Source§impl LogLevel
 
impl LogLevel
Sourcepub fn is_more_verbose_than(&self, other: &Self) -> bool
 
pub fn is_more_verbose_than(&self, other: &Self) -> bool
Check if this log level is more verbose than another.
Sourcepub fn is_less_verbose_than(&self, other: &Self) -> bool
 
pub fn is_less_verbose_than(&self, other: &Self) -> bool
Check if this log level is less verbose than another.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogLevel
 
impl<'de> Deserialize<'de> for LogLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for LogLevel
 
impl Ord for LogLevel
Source§impl PartialOrd for LogLevel
 
impl PartialOrd 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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.