Enum opentelemetry_api::logs::Severity
source · pub enum Severity {
Show 24 variants
Trace = 1,
Trace2 = 2,
Trace3 = 3,
Trace4 = 4,
Debug = 5,
Debug2 = 6,
Debug3 = 7,
Debug4 = 8,
Info = 9,
Info2 = 10,
Info3 = 11,
Info4 = 12,
Warn = 13,
Warn2 = 14,
Warn3 = 15,
Warn4 = 16,
Error = 17,
Error2 = 18,
Error3 = 19,
Error4 = 20,
Fatal = 21,
Fatal2 = 22,
Fatal3 = 23,
Fatal4 = 24,
}
Expand description
A normalized severity value.
Variants§
Trace = 1
TRACE
Trace2 = 2
TRACE2
Trace3 = 3
TRACE3
Trace4 = 4
TRACE4
Debug = 5
DEBUG
Debug2 = 6
DEBUG2
Debug3 = 7
DEBUG3
Debug4 = 8
DEBUG4
Info = 9
INFO
Info2 = 10
INFO2
Info3 = 11
INFO3
Info4 = 12
INFO4
Warn = 13
WARN
Warn2 = 14
WARN2
Warn3 = 15
WARN3
Warn4 = 16
WARN4
Error = 17
ERROR
Error2 = 18
ERROR2
Error3 = 19
ERROR3
Error4 = 20
ERROR4
Fatal = 21
FATAL
Fatal2 = 22
FATAL2
Fatal3 = 23
FATAL3
Fatal4 = 24
FATAL4
Implementations§
Trait Implementations§
source§impl Ord for Severity
impl Ord for Severity
source§impl PartialEq for Severity
impl PartialEq for Severity
source§impl PartialOrd for Severity
impl PartialOrd for Severity
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Severity
impl Eq for Severity
impl StructuralEq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.