Crates.io | log-relativizer |
lib.rs | log-relativizer |
version | 0.1.0 |
source | src |
created_at | 2024-02-04 18:36:34.239824 |
updated_at | 2024-02-04 18:36:34.239824 |
description | a tool for modifying log timestamps into relative durations |
homepage | https://github.com/benmoss/log-relativizer |
repository | |
max_upload_size | |
id | 1126566 |
size | 9,753 |
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!