exos_log_debug(): Log debug messages

<< 点击显示目录 >>

主页  exOS使用助手 > exOS Automation Help > Development > Programming > exOS Log API reference (exos_log.h) >

exos_log_debug(): Log debug messages

EXOS_ERROR_CODE exos_log_debug(const exos_log_handle_t *log, EXOS_LOG_TYPE type, char *format, ...);

对于需要详细信息的调试目的,在 EXOS_LOG_LEVEL_INFO之外还有一个级别 可用于 调度调试信息。如果将此函数与 EXOS_LOG_TYPE_USER + EXOS_LOG_TYPE_VERBOSE 标志结合 使用,则表明所记录的信息很可能会淹没日志记录器,这在记录周期性变化的值变化时可能会发生。


EXOS_ERROR_CODE exos_log_debug(const exos_log_handle_t *log, EXOS_LOG_TYPE type, char *format, ...);

For debug purposes where detailed information is needed, there is one level beyond EXOS_LOG_LEVEL_INFO that should be used for dispatching debug information. If you combine this function with the flags EXOS_LOG_TYPE_USER + EXOS_LOG_TYPE_VERBOSE, you indicate that the information you are logging may very well flood the logger, which could happen when logging the cyclically changing value changes.