On Tue, 7 Mar 2023 08:33:17 +0100 Morten Brørup <m...@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?