mirror of
https://github.com/fmtr/haco.git
synced 2026-10-25 18:40:15 -04:00
Add logging timestamps
This commit is contained in:
parent
a48b538cf1
commit
ed5685bac8
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import logging
|
|||
from haco import constants, tuya
|
||||
from haco.tasmota import Tasmota
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)-8s %(message)s', datefmt='%Y-%m-%d %H:%M:%S')
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue