mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-05 05:43:43 +08:00
sunnypilot v2026.08.25-4794
version: sunnypilot v2026.003.000 (feature-branch)
date: 2026-08-25T06:10:04
master commit: 232482477d
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