common: Print the library name in debug

This commit is contained in:
Joni Räsänen 2021-09-30 10:31:42 +03:00
parent cfe08c38a2
commit 5a7d8377d1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static inline void win_get_last_error(void)
#define LOG_LEVEL_DEBUG "DEBUG" #define LOG_LEVEL_DEBUG "DEBUG"
#define uvgrtp_debug(level, fmt, ...) \ #define uvgrtp_debug(level, fmt, ...) \
fprintf(stderr, "[RTPLIB][%s][%s::%s] " fmt "\n", level, \ fprintf(stderr, "[uvgRTP][%s][%s::%s] " fmt "\n", level, \
"", __func__, ##__VA_ARGS__) "", __func__, ##__VA_ARGS__)
#ifndef NDEBUG #ifndef NDEBUG