Enum flexi_config::Priority [] [src]

pub enum Priority {
    Error,
    Warn,
    Info,
    Debug,
    Trace,
}

Enumeration to identify the lowest level log message to output.

Variants

Used for reporting very serious errors, this is the highest level

Used for reporting hazardous situations, includes the Error level as well.

Used for reporting useful information, includes the Warn and Error levels as well.

Used for reporting low priority information, includes the Info, Warn, and Error levels as well.

Used for reporting very low priority information, includes the Debug, Info, Warn, and Error levels as well.

Methods

impl Priority
[src]

Decodes a string value into the enumeration value. This is used in conjuction with encode().

Converts the enumeration value into a string so it can be saved. Used in conjunction with decode().

Trait Implementations

impl Clone for Priority
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Priority
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Priority
[src]

impl Debug for Priority
[src]

Formats the value using the given formatter.