File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
cuckoo_time_translator_algorithms/include/cuckoo_time_translator Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ #ifndef CUCKOO_TIME_TRANSLATOR_LOGGING
2+ #define CUCKOO_TIME_TRANSLATOR_LOGGING
3+
4+ #include <console_bridge/console.h>
5+
6+ #ifdef logError
7+
8+ #define CUCKOO_TIME_TRANSLATOR_logError (fmt , ...) logError(fmt, ##__VA_ARGS__)
9+ #define CUCKOO_TIME_TRANSLATOR_logWarn (fmt , ...) logWarn(fmt, ##__VA_ARGS__)
10+ #define CUCKOO_TIME_TRANSLATOR_logInform (fmt , ...) ClogInform(fmt, ##__VA_ARGS__)
11+ #define CUCKOO_TIME_TRANSLATOR_logDebug (fmt , ...) logDebug(fmt, ##__VA_ARGS__)
12+
13+ #else
14+
15+ #define CUCKOO_TIME_TRANSLATOR_logError (fmt , ...) CONSOLE_BRIDGE_logError(fmt, ##__VA_ARGS__)
16+ #define CUCKOO_TIME_TRANSLATOR_logWarn (fmt , ...) CONSOLE_BRIDGE_logWarn(fmt, ##__VA_ARGS__)
17+ #define CUCKOO_TIME_TRANSLATOR_logInform (fmt , ...) CONSOLE_BRIDGE_logInform(fmt, ##__VA_ARGS__)
18+ #define CUCKOO_TIME_TRANSLATOR_logDebug (fmt , ...) CONSOLE_BRIDGE_logDebug(fmt, ##__VA_ARGS__)
19+
20+ #endif
21+
22+ #endif /* CUCKOO_TIME_TRANSLATOR_LOGGING */
You can’t perform that action at this time.
0 commit comments