Module aptos_logger_link::prelude
source · Re-exports
pub use crate::aptos_logger::FileWriter;
pub use crate::sample;
pub use crate::sample::SampleRate;
pub use crate::sample::Sampling;
Macros
Log at the
debug
levelLog at the
error
levelLog at the
info
levelSamples a given function at a
SampleRate
, useful for periodically emitting logs or metrics on
high throughput pieces of code.Log at the
trace
levelLog at the
warn
level