Settings
Help

Module time

Module time 

Source
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.
TimeFmtError πŸ”’
An error that occurs while trying to format the time.
TimeRounder πŸ”’
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.