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

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

Function tracing_subscriber::fmt::time::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()