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.