tracing_subscriber::fmt

Function time

Source
pub fn time() -> SystemTime
Available on crate features fmt and std only.
Expand description

Returns a new SystemTime timestamp provider.

This can then be configured further to determine how timestamps should be configured.

This is equivalent to calling

tracing_subscriber::fmt::time::SystemTime::default()