aboutsummaryrefslogtreecommitdiff
path: root/log/include
diff options
context:
space:
mode:
Diffstat (limited to 'log/include')
-rw-r--r--log/include/log/log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/log/include/log/log.h b/log/include/log/log.h
index 8f12b09..bd0c20c 100644
--- a/log/include/log/log.h
+++ b/log/include/log/log.h
@@ -2,6 +2,14 @@
2 2
3#include <stdio.h> 3#include <stdio.h>
4 4
5// Undef any previously defined log macros (from cassert.h, for example) to
6// redefine them without compiler warnings.
7#undef LOG
8#undef LOGD
9#undef LOGI
10#undef LOGW
11#undef LOGE
12
5#define LOG(channel, tag, format, ...) \ 13#define LOG(channel, tag, format, ...) \
6 { \ 14 { \
7 fprintf( \ 15 fprintf( \