Module tracing_subscriber::fmt::time
source · Available on crate features
fmt
and std
only.Expand description
Formatters for event timestamps.
Structs
- ChronoLocal
chrono
- ChronoUtc
chrono
- LocalTime
unsound_local_offset
andlocal-time
andtime
- OffsetTime
time
Formats the current time using a fixed offset and a formatter from thetime
crate. - Retrieve and print the current wall-clock time.
- Retrieve and print the relative elapsed wall-clock time since an epoch.
- UtcTime
time
Traits
- A type that can measure and format the current time.
Functions
- Returns a new
SystemTime
timestamp provider. - Returns a new
Uptime
timestamp provider.