Add '24hour-delta' timestamp option

When enabled this option will timestamp new lines with the time elapsed
since the line before.

This is a very useful feature to identify which events takes the most
time.
This commit is contained in:
Martin Lund 2022-07-05 16:05:35 +02:00
parent eecfa6485c
commit 732c0c3f89
4 changed files with 38 additions and 8 deletions

View file

@ -31,6 +31,7 @@ enum timestamp_t
TIMESTAMP_NONE,
TIMESTAMP_24HOUR,
TIMESTAMP_24HOUR_START,
TIMESTAMP_24HOUR_DELTA,
TIMESTAMP_ISO8601,
TIMESTAMP_END,
};