iamamyth 446d9622f8 logging: Generalize terminal color detection
Assume the terminal supports color codes if TERM ends with `-color` or
`-256color`, rather than special-casing a handful of such terminals.

Add tests for terminal color detection.

Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
2025-03-24 11:07:33 -07:00
..
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-12-23 10:41:09 -05:00
2024-05-21 16:29:33 +00:00
2024-07-16 19:01:09 -04:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-11-22 12:24:22 +01:00
2025-01-24 23:11:47 -08:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2025-01-22 22:39:57 +00:00
2024-05-21 16:29:33 +00:00
2024-07-16 19:01:09 -04:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-05-21 16:29:33 +00:00
2024-07-16 18:42:49 -04:00
2024-05-21 16:29:33 +00:00