pub struct StdoutExporter { /* private fields */ }Expand description
Exports metrics by logging them in a textual format.
Implementations§
Source§impl StdoutExporter
impl StdoutExporter
Sourcepub fn new(controller: Controller, level: Level, interval: Duration) -> Self
pub fn new(controller: Controller, level: Level, interval: Duration) -> Self
Creates a new StdoutExporter.
The exporter will take a snapshot based on the configured controller, outputting at the
configured level, at the configured interval.
Auto Trait Implementations§
impl Freeze for StdoutExporter
impl RefUnwindSafe for StdoutExporter
impl Send for StdoutExporter
impl Sync for StdoutExporter
impl Unpin for StdoutExporter
impl UnwindSafe for StdoutExporter
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