Writing /var/lib/dokuwiki/data/meta/tutorials/python_development_standards.meta failed
tutorials:python_development_standards
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:python_development_standards [2019/06/25 02:50] – [Logging] dgarcia | tutorials:python_development_standards [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 127: | Line 127: | ||
| <code python> | <code python> | ||
| - | from colorlog | + | import |
| # create the format object with colors. | # create the format object with colors. | ||
| - | formatter = ColoredFormatter( | + | formatter = colorlog.ColoredFormatter( |
| - | " | + | "%(asctime)s%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s", |
| datefmt=None, | datefmt=None, | ||
| reset=True, | reset=True, | ||
tutorials/python_development_standards.1561431002.txt.gz · Last modified: 2022/09/20 00:08 (external edit)