[PATCH v3 0/2] Add option to timestamp console log
Stephen Hemminger
stephen at networkplumber.org
Tue Mar 7 17:04:03 CET 2023
On Tue, 7 Mar 2023 08:33:17 +0100
Morten Brørup <mb at smartsharesystems.com> wrote:
> Here's some feature creep: Since the timestamp output is configurable, there is no need to settle on one specific timestamp format. The option could allow a choice between MONOTONIC and REALTIME, with an option for REALTIME to include the date in ISO 8601 format (YYYY-MM-DD). And REALTIME could be UTC or local time. You could consider taking a format string for strftime(), with the extension that %f expands to 6 digit microseconds like in Python [1].
Does that have compiler static checking issues if you allow user to set formats?
More information about the dev
mailing list