Function new_formatter

Source
pub(super) fn new_formatter(granularity: Duration) -> impl FormatTime
Expand description

Construct a new FormatTime from a given user-supplied description of the desired log granularity.