Changeset - 51e9cb155495
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 20 months ago 2023-05-24 21:44:38
drewp@bigasterisk.com
list code line in logs
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/run_local.py
Show inline comments
 
@@ -23,13 +23,13 @@ log = logging.getLogger()  # this has to
 
log.name = progName  # but we can rename it for clarity
 

	
 
coloredlogs.install(
 
    level='DEBUG',
 
    milliseconds=True,
 
    datefmt='t=%H:%M:%S',
 
    fmt='%(asctime)s.%(msecs)03d %(levelname)1.1s %(name)s %(message)s',
 
    fmt='%(asctime)s.%(msecs)03d %(levelname)1.1s [%(filename)s:%(lineno)s] %(name)s %(message)s',
 
    # try `pdm run humanfriendly --demo`
 
    field_styles=dict(
 
        asctime=dict(color=30),
 
        levelname=dict(color=247),
 
        name=dict(color='blue'),
 
    ),
0 comments (0 inline, 0 general)