pub fn uptime() -> Uptime
Expand description

Returns a new Uptime timestamp provider.

With this timer, timestamps will be formatted with the amount of time elapsed since the timestamp provider was constructed.

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

This is equivalent to calling

tracing_subscriber::fmt::time::Uptime::default()