NabtoDeviceLogCallback()

DESCRIPTION

Log callback function definition. This function is invoked directly by the core when a log message is to be printed. Since this is called directly from the core, blocking or calling back into the API from this function is not allowed.

DECLARATION

typedef void (*NabtoDeviceLogCallback)(NabtoDeviceLogMessage* msg, void* data)