base: add timestamps to the logs
Fixes #127 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6f9d3dbde4
commit
82b81b1c34
|
@ -32,8 +32,9 @@ from tuhi.ble import BlueZDeviceManager
|
||||||
from tuhi.wacom import WacomDevice, DeviceMode
|
from tuhi.wacom import WacomDevice, DeviceMode
|
||||||
from tuhi.config import TuhiConfig
|
from tuhi.config import TuhiConfig
|
||||||
|
|
||||||
logging.basicConfig(format='%(levelname)s: %(name)s: %(message)s',
|
logging.basicConfig(format='%(asctime)s %(levelname)s: %(name)s: %(message)s',
|
||||||
level=logging.INFO)
|
level=logging.INFO,
|
||||||
|
datefmt='%H:%M:%S')
|
||||||
logger = logging.getLogger('tuhi')
|
logger = logging.getLogger('tuhi')
|
||||||
|
|
||||||
WACOM_COMPANY_IDS = [0x4755, 0x4157]
|
WACOM_COMPANY_IDS = [0x4755, 0x4157]
|
||||||
|
|
Loading…
Reference in New Issue