pub enum LineLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
The level one log line announces.
Ordered lowest first, so level >= minimum reads the way an operator
setting a floor expects. Display renders the spelling a Flockfile
writes.
Variants§
Trace
The lowest, and the only one an app has to opt into emitting.
Debug
Below Info, and the usual floor for an app’s own noise.
Info
The default an operator reads when nothing is filtered.
Warn
Something an operator should look at, without the sheep being broken.
Error
The highest. A line saying it is fatal is not saying something milder than one saying error.
Trait Implementations§
impl Copy for LineLevel
Source§impl<'de> Deserialize<'de> for LineLevel
impl<'de> Deserialize<'de> for LineLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LineLevel
Source§impl JsonSchema for LineLevel
impl JsonSchema for LineLevel
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for LineLevel
impl Ord for LineLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LineLevel
impl PartialOrd for LineLevel
impl StructuralPartialEq for LineLevel
Auto Trait Implementations§
impl Freeze for LineLevel
impl RefUnwindSafe for LineLevel
impl Send for LineLevel
impl Sync for LineLevel
impl Unpin for LineLevel
impl UnsafeUnpin for LineLevel
impl UnwindSafe for LineLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.