pub enum DltLogLevel {
Default,
Off,
Fatal,
Error,
Warn,
Info,
Debug,
Verbose,
}Expand description
DLT log level
Severity level of a log message, ordered from most severe (DltLogLevel::Fatal)
to least severe (DltLogLevel::Verbose).
Use with DltContextHandle::log() or DltContextHandle::log_write_start().
The DLT daemon filters messages based on the configured threshold
Variants§
Default
Default log level (determined by DLT daemon configuration)
Off
Logging is disabled
Fatal
Fatal system error - system is unusable
Error
Error conditions - operation failed
Warn
Warning conditions - something unexpected but recoverable
Info
Informational messages - normal operation (default level)
Debug
Debug-level messages - detailed diagnostic information
Verbose
Verbose/trace-level messages - very detailed execution traces
Trait Implementations§
Source§impl Clone for DltLogLevel
impl Clone for DltLogLevel
Source§fn clone(&self) -> DltLogLevel
fn clone(&self) -> DltLogLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DltLogLevel
impl Debug for DltLogLevel
Source§impl From<i32> for DltLogLevel
impl From<i32> for DltLogLevel
Source§fn from(value: i32) -> DltLogLevel
fn from(value: i32) -> DltLogLevel
Converts to this type from the input type.
Source§impl Ord for DltLogLevel
impl Ord for DltLogLevel
Source§fn cmp(&self, other: &DltLogLevel) -> Ordering
fn cmp(&self, other: &DltLogLevel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DltLogLevel
impl PartialEq for DltLogLevel
Source§impl PartialOrd for DltLogLevel
impl PartialOrd for DltLogLevel
impl Copy for DltLogLevel
impl Eq for DltLogLevel
impl StructuralPartialEq for DltLogLevel
Auto Trait Implementations§
impl Freeze for DltLogLevel
impl RefUnwindSafe for DltLogLevel
impl Send for DltLogLevel
impl Sync for DltLogLevel
impl Unpin for DltLogLevel
impl UnwindSafe for DltLogLevel
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.