Skip to content

Comments

Add support for bold, italic, underline, reverse, and bg_* colors in …#49285

Open
mayankvirole wants to merge 1 commit intospring-projects:mainfrom
mayankvirole:feature/extend-clr-ansi-styles
Open

Add support for bold, italic, underline, reverse, and bg_* colors in …#49285
mayankvirole wants to merge 1 commit intospring-projects:mainfrom
mayankvirole:feature/extend-clr-ansi-styles

Conversation

@mayankvirole
Copy link

  • Add REVERSE (ANSI code 7) to AnsiStyle enum ,
  • Expand ColorConverter ELEMENTS map to include all AnsiStyle values (bold, italic, underline, normal, faint, reverse) and all AnsiBackground colors with the bg_ prefix (bg_red, bg_bright_green, etc.)
  • Update tests for both logback and log4j2 converters

Closes #49262

…%clr converter

- Add REVERSE (ANSI code 7) to AnsiStyle enum
- Expand ColorConverter ELEMENTS map to include all AnsiStyle values
  (bold, italic, underline, normal, faint, reverse) and all AnsiBackground
  colors with the bg_ prefix (bg_red, bg_bright_green, etc.)
- Update tests for both logback and log4j2 converters

Closes spring-projects#49262

Signed-off-by: mvirole <virolemayank@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more ansi styles to the logging system

2 participants