Azure Kinect Sensor SDK  refs/pull/413/merge
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Error and event logging

The SDK can log data to the console, files, or to a custom handler. More...

The SDK can log data to the console, files, or to a custom handler.

Environment Variables

K4A_ENABLE_LOG_TO_A_FILE = 0 - completely disable logging to a file log\custom.log - log all messages to the path and file specified - must end in '.log' to be considered a valid entry ** When enabled this takes precedence over the value of K4A_ENABLE_LOG_TO_STDOUT

K4A_ENABLE_LOG_TO_STDOUT = 0 - disable logging to stdout all else - log all messages to stdout

K4A_LOG_LEVEL = 'c' - log all messages of level 'critical' criticality 'e' - log all messages of level 'error' or higher criticality 'w' - log all messages of level 'warning' or higher criticality 'i' - log all messages of level 'info' or higher criticality 't' - log all messages of level 'trace' or higher criticality DEFAULT - log all message of level 'error' or higher criticality

See remarks section of k4a_set_debug_message_handler