fn log_level(&self) -> slog::Level {
        match self {
            Error::InvalidXNetEndpoint(..) => slog::Level::Error,
            Error::GetStateFailed(..) => slog::Level::Warning,
            _ => slog::Level::Info,
        }
    }
/// Returns the desired log level to be used with this `Error`.
Returns the desired log level to be used with this `Error`.
Returns the desired log level to be used with this ` Error ` .
fn log_level(&self) -> slog::Level {
        match self {
            Error::InvalidXNetEndpoint(..) => slog::Level::Error,
            Error::GetStateFailed(..) => slog::Level::Warning,
            _ => slog::Level::Info,
        }
    }
fn log_level ( & self ) -> slog :: Level { match self { Error :: InvalidXNetEndpoint ( .. ) => slog :: Level :: Error , Error :: GetStateFailed ( .. ) => slog :: Level :: Warning , _ => slog :: Level :: Info , } }
Returns the desired log level to be used with this `Error`.
Returns the desired log level to be used with this ` Error ` .
&self
&self