Struct cadence::ConsoleMetricSink [] [src]

pub struct ConsoleMetricSink;

Implementation of a MetricSink that emits metrics to the console.

Metrics are emitted with the println! macro.

Trait Implementations

impl MetricSink for ConsoleMetricSink
[src]

fn emit(&self, metric: &str) -> Result<usize>

Send the Statsd metric using this sink and return the number of bytes written or an I/O error. Read more