usestd::time::Duration;#[doc(inline)]pubuseperformance_mark_macro::performance_mark;/// Context passed to a custom logging function.
pubstructLogContext{/// The name of the function being profiled.
pubfunction: String,
/// The time the function took to complete.
pubduration: Duration,
}