Expand description
Support logging the time with different levels of precision.
Structsยง
- LogTimer ๐
- Actual type to implement log formatting.
Enumsยง
- LogPrecision ๐
- Instructions for what degree of precision to use for our log times.
- Time
FmtError ๐ - An error that occurs while trying to format the time.
- Time
Rounder ๐ - Describe how to compute the current time.
Functionsยง
- ilog10_
roundup ๐ - Compute the smallest n such that 10^n >= x.
- new_
formatter ๐ - Construct a new
FormatTimefrom a given user-supplied description of the desired log granularity.