Skip to content

Conversation

@arkq
Copy link

@arkq arkq commented Dec 11, 2025

Black text is not visible on black terminals. Using black color as a default might not be visible on many setups out there (a lot of developers use black backgrounds). Using dark gray color (bright black) seems like a reasonable compromise if log level is chosen to be dark by default.

Changes tested on all built-in color schemes of Gnome Terminal, and the log level is visible on all of them. What's the most important, it is visible on black themes of other terminal like Kitty or Putty.

Fixes #77

Black text is not visible on black terminals. Using black color as
a default might not be visible on many setups out there (a lot of
developers use black backgrounds). Using dark gray color (bright black)
seems like a reasonable compromise if log level is chosen to be dark by
default.
Copilot AI review requested due to automatic review settings December 11, 2025 15:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the visibility of log level names in colored terminal output by changing the default color from black to bright black (dark gray). This addresses a common issue where black text is invisible on terminals with dark or black backgrounds, which are widely used by developers.

Key Changes:

  • Added bright=True parameter to the levelname field style in DEFAULT_FIELD_STYLES, making the log level name appear in bright black (dark gray) instead of plain black

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

levelname format not showing

1 participant