File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Installation
3232The `coloredlogs ` package is available on PyPI _ which means installation should
3333be as simple as:
3434
35- .. code-block :: sh
35+ .. code-block :: console
3636
3737 $ pip install coloredlogs
3838
Original file line number Diff line number Diff line change 9090The simplest customization is to change the log format, for example:
9191
9292.. literalinclude:: examples/custom-log-format.txt
93- :language: sh
93+ :language: console
9494
9595Here's what that looks like in a terminal (I always work in terminals with a
9696black background and white text):
105105part and leave only the time:
106106
107107.. literalinclude:: examples/custom-datetime-format.txt
108- :language: sh
108+ :language: console
109109
110110Here's what it looks like in a terminal:
111111
118118Finally you can customize the colors and text styles that are used:
119119
120120.. literalinclude:: examples/custom-colors.txt
121- :language: sh
121+ :language: console
122122
123123Here's an explanation of the features used here:
124124
You can’t perform that action at this time.
0 commit comments