v0.9.2
- new: Added time range filter options
--since
and--until
.-
Command
$ hl example.log --since 'Jun 19 11:22:33' --until yesterday
Shows only messages occurred after Jun 19 11:22:33 UTC of the current year (or of the previous one if current date is less than Jun 19 11:22:33) and until yesterday midnight.
-
Command
$ hl example.log --since -3d
Shows only messages for the last 72 hours.
-
Command
$ hl example.log --until '2021-06-01 18:00:00' --local
Shows only messages occurred before 6 PM on 1st Jun 2021 in local time as well as show timestamps in local time.
-