Skip to content
brendanwhitfield edited this page Nov 26, 2014 · 4 revisions

Debug

python-OBD also contains a debug object that can be used to print 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

Docs have been moved to python-obd.readthedocs.org

Clone this wiki locally