🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

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()