Struct dlt_core::statistics::LevelDistribution
source · pub struct LevelDistribution {
pub non_log: usize,
pub log_fatal: usize,
pub log_error: usize,
pub log_warning: usize,
pub log_info: usize,
pub log_debug: usize,
pub log_verbose: usize,
pub log_invalid: usize,
}
Expand description
Shows how many messages per log level where found
Fields§
§non_log: usize
§log_fatal: usize
§log_error: usize
§log_warning: usize
§log_info: usize
§log_debug: usize
§log_verbose: usize
§log_invalid: usize
Implementations§
source§impl LevelDistribution
impl LevelDistribution
pub fn new(level: Option<LogLevel>) -> LevelDistribution
pub fn merge(&mut self, outside: &LevelDistribution)
Trait Implementations§
source§impl Clone for LevelDistribution
impl Clone for LevelDistribution
source§fn clone(&self) -> LevelDistribution
fn clone(&self) -> LevelDistribution
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 LevelDistribution
impl Debug for LevelDistribution
source§impl Default for LevelDistribution
impl Default for LevelDistribution
source§fn default() -> LevelDistribution
fn default() -> LevelDistribution
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LevelDistribution
impl Send for LevelDistribution
impl Sync for LevelDistribution
impl Unpin for LevelDistribution
impl UnwindSafe for LevelDistribution
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