

VL53L0X API Specification
1.0.2.4823vl53l0x_platform_log.h
Go to the documentation of this file.
81 int32_t VL53L0X_trace_config(char *filename, uint32_t modules, uint32_t level, uint32_t functions);
83 void trace_print_module_function(uint32_t module, uint32_t level, uint32_t function, const char *format, ...);
91 trace_print_module_function(module, _trace_level, TRACE_FUNCTION_ALL, "%ld <START> %s "fmt"\n", LOG_GET_TIME(), __FUNCTION__, ##__VA_ARGS__);
94 trace_print_module_function(module, _trace_level, TRACE_FUNCTION_ALL, "%ld <END> %s %d\n", LOG_GET_TIME(), __FUNCTION__, (int)status, ##__VA_ARGS__)
97 trace_print_module_function(module, _trace_level, TRACE_FUNCTION_ALL, "%ld <END> %s %d "fmt"\n", LOG_GET_TIME(), __FUNCTION__, (int)status,##__VA_ARGS__)
100 //#define VL53L0X_ErrLog( fmt, ...) fprintf(stderr, "VL53L0X_ErrLog %s" fmt "\n", __func__, ##__VA_ARGS__)
Definition: vl53l0x_platform_log.h:55
Definition: vl53l0x_platform_log.h:60
Definition: vl53l0x_platform_log.h:56
Definition: vl53l0x_platform_log.h:54
Definition: vl53l0x_platform_log.h:62
Definition: vl53l0x_platform_log.h:61
Definition: vl53l0x_platform_log.h:66
Definition: vl53l0x_platform_log.h:69
Definition: vl53l0x_platform_log.h:50
Definition: vl53l0x_platform_log.h:67
Definition: vl53l0x_platform_log.h:53
Definition: vl53l0x_platform_log.h:68
Definition: vl53l0x_platform_log.h:51
Definition: vl53l0x_platform_log.h:52