Added time to standard log

This commit is contained in:
avk 2016-02-12 11:02:08 +01:00
parent 5c53cf0054
commit 53719366e0

View File

@ -51,10 +51,10 @@ else:
colorama.deinit()
# Log formats to use.
SIMPLE_FMT = '{levelname}: {message}'
SIMPLE_FMT = '{asctime:8} {levelname}: {message}'
EXTENDED_FMT = ('{asctime:8} {levelname:8} {name:10} {module}:{funcName}:'
'{lineno} {message}')
SIMPLE_FMT_COLORED = '%(log_color)s%(levelname)s%(reset)s: %(message)s'
SIMPLE_FMT_COLORED = '%(green)s%(asctime)-8s%(reset)s %(log_color)s%(levelname)s%(reset)s: %(message)s'
EXTENDED_FMT_COLORED = (
'%(green)s%(asctime)-8s%(reset)s '
'%(log_color)s%(levelname)-8s%(reset)s '