Skip to content
Snippets Groups Projects
Commit 19e08a6f authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #17351: logger: don't use long long unsigned in format string

parent aeddf9c8
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ void setDebugMode(bool); ...@@ -42,7 +42,7 @@ void setDebugMode(bool);
bool getDebugMode(); bool getDebugMode();
}; };
#define LOGGER(M, LEVEL, ...) Logger::log(LEVEL, "%s:%d:tid %llu:\t" M, __FILE__, \ #define LOGGER(M, LEVEL, ...) Logger::log(LEVEL, "%s:%d:tid %lu:\t" M, __FILE__, \
__LINE__, pthread_self() & 0xffff, ##__VA_ARGS__) __LINE__, pthread_self() & 0xffff, ##__VA_ARGS__)
#define ERROR(M, ...) LOGGER(M, LOG_ERR, ##__VA_ARGS__) #define ERROR(M, ...) LOGGER(M, LOG_ERR, ##__VA_ARGS__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment