From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Jun 2015 20:16:15 +0000 Subject: Update documentation --- log/enum.LogLevel.html | 151 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 log/enum.LogLevel.html (limited to 'log/enum.LogLevel.html') diff --git a/log/enum.LogLevel.html b/log/enum.LogLevel.html new file mode 100644 index 0000000..6905fef --- /dev/null +++ b/log/enum.LogLevel.html @@ -0,0 +1,151 @@ + + + + + + + + + + log::LogLevel - Rust + + + + + + + + + + + + + + + +
+

Enum log::LogLevel + + [] + + [src]

+
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

+
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.

+

Methods

impl LogLevel

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 Clone for LogLevel

fn clone(&self) -> LogLevel

+

fn clone_from(&mut self, source: &Self)

+

impl PartialEq for LogLevel

fn eq(&self, other: &LogLevel) -> bool

+

fn ne(&self, other: &Rhs) -> bool

+

impl PartialEq<LogLevelFilter> for LogLevel

fn eq(&self, other: &LogLevelFilter) -> bool

+

fn ne(&self, other: &Rhs) -> bool

+

impl PartialOrd for LogLevel

fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>

+

fn lt(&self, other: &Rhs) -> bool

+

fn le(&self, other: &Rhs) -> bool

+

fn gt(&self, other: &Rhs) -> bool

+

fn ge(&self, other: &Rhs) -> bool

+

impl PartialOrd<LogLevelFilter> for LogLevel

fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>

+

fn lt(&self, other: &Rhs) -> bool

+

fn le(&self, other: &Rhs) -> bool

+

fn gt(&self, other: &Rhs) -> bool

+

fn ge(&self, other: &Rhs) -> bool

+

impl Ord for LogLevel

fn cmp(&self, other: &LogLevel) -> Ordering

+

impl FromStr for LogLevel

type Err = ()

+

fn from_str(level: &str) -> Result<LogLevel, ()>

+

impl Display for LogLevel

fn fmt(&self, fmt: &mut Formatter) -> Result

+

Derived Implementations

impl Debug for LogLevel

fn fmt(&self, __arg_0: &mut Formatter) -> Result

+

impl Eq for LogLevel

impl Copy for LogLevel

+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3