mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
added timestamps to logging
This commit is contained in:
@@ -12,7 +12,8 @@ from src.nhl_managers import NHLLiveManager, NHLRecentManager, NHLUpcomingManage
|
|||||||
# Configure logging
|
# Configure logging
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.INFO,
|
level=logging.INFO,
|
||||||
format='%(levelname)s:%(name)s:%(message)s'
|
format='%(asctime)s - %(levelname)s:%(name)s:%(message)s',
|
||||||
|
datefmt='%H:%M:%S'
|
||||||
)
|
)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|||||||
Reference in New Issue
Block a user