deponian / logalize

Fast and extensible log colorizer Alternative to ccze
MIT License
22 stars 0 forks source link

Use terminal colors? #1

Closed dgudim closed 3 hours ago

dgudim commented 4 hours ago

I am trying to configure logalize to use standard colors from the terminal, but it says: foreground color green doesn't match ^(#[[:xdigit:]]{6}|[[:digit:]]{1,3})?$ regexp are standard colors not supported?

deponian commented 3 hours ago

@dgudim Hi! Standard colors are supported only by number in the ANSI table, not by name. So it's number 3 for green color, 9 for red and so on. You can find the number you need here: https://www.ditig.com/publications/256-colors-cheat-sheet

dgudim commented 3 hours ago

Wow, that was fast :) thanks!