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
FormatTime
from a given user-supplied description of the desired log granularity.