Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 318 Bytes

File metadata and controls

18 lines (11 loc) · 318 Bytes

python-OBD also contains a debug object that receives status messages and errors. Console printing is disabled by default, but can be enabled manually. A custom debug handler can also be set.

import obd

obd.debug.console = True

# AND / OR

def log(msg):
	print msg

obd.debug.handler = log