Skip to content

Commit 569eef7

Browse files
committed
Default log level name style to use bright black
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.
1 parent 65bdfe9 commit 569eef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coloredlogs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
DEFAULT_FIELD_STYLES = dict(
232232
asctime=dict(color='green'),
233233
hostname=dict(color='magenta'),
234-
levelname=dict(color='black', bold=True),
234+
levelname=dict(color='black', bold=True, bright=True),
235235
name=dict(color='blue'),
236236
programname=dict(color='cyan'),
237237
username=dict(color='yellow'),

0 commit comments

Comments
 (0)