logging: LOG_DEBUG should print C_DEBUG.

This commit is contained in:
RedHawk 2023-05-12 16:55:18 +03:00
parent 734393831e
commit d1d90a553a

View File

@ -79,7 +79,7 @@ static void create_log_line(const char * _status,
#if LOG_DEBUG_MESSAGES
#define LOG_DEBUG(fmt, ...) \
create_log_line(C_INFO, __FILE__, __LINE__, fmt, ##__VA_ARGS__);
create_log_line(C_DEBUG, __FILE__, __LINE__, fmt, ##__VA_ARGS__);
#else
#define LOG_DEBUG(fmt, ...)
#endif