User Tools

Site Tools


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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:python_development_standards [2019/06/25 02:50] – [Logging] dgarciatutorials: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 ColoredFormatter+import colorlog
  
 # create the format object with colors. # create the format object with colors.
-formatter = ColoredFormatter( +formatter = colorlog.ColoredFormatter( 
- "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s",+ "%(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)