Enum sozu_command_lib::logging::LogLevel[][src]

#[repr(usize)]
pub enum LogLevel {
    Error,
    Warn,
    Info,
    Debug,
    Trace,
}

Variants

Error

The “error” level.

Designates very serious errors.

Warn

The “warn” level.

Designates hazardous situations.

Info

The “info” level.

Designates useful information.

Debug

The “debug” level.

Designates lower priority information.

Trace

The “trace” level.

Designates very low priority, often extremely verbose, information.

Implementations

impl LogLevel[src]

pub fn max() -> LogLevel[src]

Returns the most verbose logging level.

pub fn to_log_level_filter(self) -> LogLevelFilter[src]

Converts the LogLevel to the equivalent LogLevelFilter.

Trait Implementations

impl Clone for LogLevel[src]

impl Copy for LogLevel[src]

impl Debug for LogLevel[src]

impl Eq for LogLevel[src]

impl From<Level> for LogLevel[src]

impl Ord for LogLevel[src]

impl PartialEq<LogLevel> for LogLevel[src]

impl PartialEq<LogLevel> for LogLevelFilter[src]

impl PartialEq<LogLevelFilter> for LogLevel[src]

impl PartialOrd<LogLevel> for LogLevel[src]

impl PartialOrd<LogLevel> for LogLevelFilter[src]

impl PartialOrd<LogLevelFilter> for LogLevel[src]

impl StructuralEq for LogLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.