-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Open
Description
In log4j 2.x docs, there's a lot of other ansi style currently Spring Boot doesn't support using %clr:
- bold
- underline
- reverse (swaps the background and foreground colors)
- bg_* colors (background colors)
- multiple style (e.g.
{%bold %red}) - custom colors (specified with hex code)
Currently, AnsiStyle have bold and underline, and all bg named colors have the same names of already implemented foreground colors.
reverse is particularly interesting IMO used with log levels.
AFAIK, of these styles, logback supports only bold foreground colors.
log4j also allows normal, hidden and blink. I fail to see the usefulness of the first two, while I don't like blink at all. Just adding them for the sake of completeness.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement