A log file highlighter based on the
less
pager and basically behaves like any pager. More information: https://github.com/bensadeh/tailspin.
less
:tspin path/to/application.log
journalctl -b --follow | tspin
stdout
:tspin path/to/application.log --print
stdin
and print to stdout
:echo "2021-01-01 12:00:00 [INFO] This is a log message" | tspin