Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 318 Bytes

Debug.md

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