bat will be really useful if it can view log files with highlighting, e.g. ERROR/error, WARNING/warning are in different colors(ERROR: red, WARNING: yellow) etc.
Thank you for the feedback.
That sounds like a really cool idea! We would need to look for (or create) a Sublime Text syntax that would do the appropriate highlighting. This could then be used with bat -l log on all kinds of text files.
Here you can find a sublime syntax for syslog. Maybe @ufo22940268 could help.
@caos21 That looks good.
If someone wants to add this, please follow the steps in the README here: https://github.com/sharkdp/bat/tree/master/assets
Thanks. I will take a look at it.
I updated the syslog-syntax. #470
Most helpful comment
Thank you for the feedback.
That sounds like a really cool idea! We would need to look for (or create) a Sublime Text syntax that would do the appropriate highlighting. This could then be used with
bat -l logon all kinds of text files.