#relative

app log-relativizer

a tool for modifying log timestamps into relative durations

1 unstable release

0.1.0 Feb 4, 2024

#18 in #relative

MIT license

5KB
60 lines

log-relativizer

Allows you to turn ISO8601 timestamps in a file into durations relative to the first timestamp. It's easier to demonstrate than explain, so:

$ cat examples/test.log | log-relativizer
[0s] starting the tests
[1s928ms] test 1
[2s196ms] some logs and crap
[2s461ms] test 2
[3s53ms] whoa so many logs
[3s458ms] tests complete!

Dependencies

~2.9–4MB
~70K SLoC