change logging

This commit is contained in:
Bastian Bloessl
2023-08-04 13:09:57 +02:00
parent 965e2d474f
commit abed50bf7f
6 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -32,10 +32,10 @@ using gr::ieee802_11::Encoding;
#define MAX_ENCODED_BITS ((16 + 8 * MAX_PSDU_SIZE + 6) * 2 + MAX_BITS_PER_SYM)
#define dout d_debug&& std::cout
#define mylog(msg) \
#define mylog(...) \
do { \
if (d_log) { \
GR_LOG_INFO(d_logger, msg); \
d_logger->info(__VA_ARGS__); \
} \
} while (0);