diff --git a/emper/Debug.hpp b/emper/Debug.hpp index 2ef222ca9ea588f38ee559056ef4b034d84dadfc..05fee07a3ded9fb4c7265a88a0afc95d98227825 100644 --- a/emper/Debug.hpp +++ b/emper/Debug.hpp @@ -38,10 +38,19 @@ // NOLINTNEXTLINE(bugprone-macro-parentheses) #define LOGI(x) LOG(Info, "Info: " << x, emper_log_no_prefix, true); +// NOLINTNEXTLINE(bugprone-macro-parentheses) +#define LOGGER_LOGI(x) LOG(Info, "Info: " << x, this->logI, true); + // NOLINTNEXTLINE(bugprone-macro-parentheses) #define LOGW(x) LOG(Warning, "Warning: " << x, emper_log_no_prefix, true); +// NOLINTNEXTLINE(bugprone-macro-parentheses) +#define LOGGER_LOGW(x) LOG(Warning, "Warning: " << x, this->logW, true); + // NOLINTNEXTLINE(bugprone-macro-parentheses) #define LOGE(x) LOG(Error, "Error: " << x, emper_log_no_prefix, true); +// NOLINTNEXTLINE(bugprone-macro-parentheses) +#define LOGGER_LOGE(x) LOG(Error, "Error: " << x, emper_log_no_prefix, true); + // NOLINTNEXTLINE(bugprone-macro-parentheses) #define ABORT(x) { LOGE(x); abort(); }