Struct slog_extlog::stats::StatLogData[][src]

pub struct StatLogData<'a> {
    pub description: &'static str,
    pub stype: StatType,
    pub name: &'static str,
    pub value: f64,
    pub tags: Vec<(&'static str, &'a str)>,
}

Data and callback type for actually generating the log.

This allows the user to decide what format to actually log the stats in.

Fields

The description, as provided on the definition.

The statistic type, automatically determined from the definition.

The statistic name, as provided on the definition.

The current value.

The groups and name.

Trait Implementations

impl<'a> Debug for StatLogData<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for StatLogData<'a>

impl<'a> Sync for StatLogData<'a>