mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-15 06:42:05 +08:00
sunnypilot v2026.07.09-4557
version: sunnypilot v2026.002.000 (feature-branch)
date: 2026-07-09T13:37:20
master commit: 499ed0e59d
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
import logging
|
||||
|
||||
# set up logging
|
||||
LOGLEVEL = os.environ.get('LOGLEVEL', 'INFO').upper()
|
||||
logger = logging.getLogger('panda')
|
||||
logger.setLevel(LOGLEVEL)
|
||||
|
||||
handler = logging.StreamHandler()
|
||||
handler.setFormatter(logging.Formatter('%(message)s'))
|
||||
logger.addHandler(handler)
|
||||
Reference in New Issue
Block a user