tigrawap/slit

Auto colorize

slayer opened this issue · 2 comments

It would be great if slit can colorize log file content

It shows original colors of log file, if any

Auto-Colorize for timestamps/debug/urls level is something I might add later

cxong commented

Logs will have all sorts of different formats. To do any kind of useful colorizing, the user will need to provide a format.
How about integrating something like https://github.com/alecthomas/chroma? Then while running slit, provide the path of a pygments lexer.