Enum opentelemetry::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 PartialOrd for Severity
impl PartialOrd for Severity
impl Copy for Severity
impl Eq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)