Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_logging_message_cb_t

typedef void() k4a_logging_message_cb_t(void *context, k4a_log_level_t level, const char *file, const int line, const char *message)

Callback function for debug messages being generated by the Azure Kinect SDK.

Parameters
contextThe context of the callback function. This is the context that was supplied by the caller to k4a_set_debug_message_handler.
levelThe level of the message that has been created.
fileThe file name of the source file that generated the message.
lineThe line number of the source file that generated the message.
messageThe messaged generated by the Azure Kinect SDK.
Remarks
The callback is called asynchronously when the Azure Kinext SDK generates a message at a level that is equal to or more critical than the level specified when calling k4a_set_debug_message_handler() to register the callback.
This callback can occur from any thread and blocks the calling thread. The k4a_logging_message_cb_t function user must protect it's logging resources from concurrent calls. All care should be made to minimize the amount of time locks are held.