Python Bluetooth SDK Logging Options
Logging init and control. The hmkit is described in the hmkit
Logging Init
hmkit and logging instantiation
Declaration
hmkit
def __init__(self, snippet, loglevel=logging.INFO):
Parameters
snippet | hmkit |
loglevel | python logging module level |
Discussion
During instantiation of hmkit, logging module's level can be set
SetLogLevels
Set Logging Level for Python SDK
Declaration
def set_logging_level(self, loglevel=logging.INFO):
Parameters
loglevel | python logging module level |
Discussion
Runtime log level change, applied for all the subpackages of hmkit
Python Logging Levels
Declaration
python logging level for hmkit logs.
logging.DEBUG,
logging.INFO,
logging.WARNING,
logging.ERROR,
logging.CRITICAL
Discussion
python logging module levels