Enum juju::LogLevel
[−]
[src]
#[repr(usize)]pub enum LogLevel { Error, Warn, Info, Debug, Trace, }
An enum representing the available verbosity levels of the logging framework
A LogLevel may be compared directly to a LogLevelFilter.
Variants
ErrorThe "error" level.
Designates very serious errors.
WarnThe "warn" level.
Designates hazardous situations.
InfoThe "info" level.
Designates useful information.
DebugThe "debug" level.
Designates lower priority information.
TraceThe "trace" level.
Designates very low priority, often extremely verbose, information.
Methods
impl LogLevel[src]
fn max() -> LogLevel
Returns the most verbose logging level.
fn to_log_level_filter(&self) -> LogLevelFilter
Converts the LogLevel to the equivalent LogLevelFilter.
Trait Implementations
impl Eq for LogLevel[src]
impl PartialOrd<LogLevel> for LogLevel[src]
fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>
impl PartialOrd<LogLevelFilter> for LogLevel[src]
fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
impl Debug for LogLevel[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Display for LogLevel[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for LogLevel[src]
impl PartialEq<LogLevel> for LogLevel[src]
fn eq(&self, other: &LogLevel) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl PartialEq<LogLevelFilter> for LogLevel[src]
fn eq(&self, other: &LogLevelFilter) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl FromStr for LogLevel[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(level: &str) -> Result<LogLevel, ()>
Parses a string s to return a value of this type. Read more