diff --git a/src/modm/debug/logger/level.hpp b/src/modm/debug/logger/level.hpp index c2eddc637d..b573b04224 100644 --- a/src/modm/debug/logger/level.hpp +++ b/src/modm/debug/logger/level.hpp @@ -55,7 +55,7 @@ namespace modm * * \ingroup modm_debug */ - #define MODM_LOG_LEVEL modm::log::DEBUG + #define MODM_LOG_LEVEL ::modm::log::DEBUG #endif // MODM_LOG_LEVEL #endif // MODM_LOG_LEVEL_HPP diff --git a/src/modm/debug/logger/logger.hpp b/src/modm/debug/logger/logger.hpp index 5a06f19f20..dfbbcb1cf1 100644 --- a/src/modm/debug/logger/logger.hpp +++ b/src/modm/debug/logger/logger.hpp @@ -88,39 +88,39 @@ namespace modm */ #define MODM_LOG_OFF \ if ( true ){} \ - else modm::log::debug + else ::modm::log::debug /** * \brief Output stream for debug messages * \ingroup modm_debug */ #define MODM_LOG_DEBUG \ - if (MODM_LOG_LEVEL > modm::log::DEBUG){} \ - else modm::log::debug + if (MODM_LOG_LEVEL > ::modm::log::DEBUG){} \ + else ::modm::log::debug /** * \brief Output stream for info messages * \ingroup modm_debug */ #define MODM_LOG_INFO \ - if (MODM_LOG_LEVEL > modm::log::INFO){} \ - else modm::log::info + if (MODM_LOG_LEVEL > ::modm::log::INFO){} \ + else ::modm::log::info /** * \brief Output stream for warnings * \ingroup modm_debug */ #define MODM_LOG_WARNING \ - if (MODM_LOG_LEVEL > modm::log::WARNING){} \ - else modm::log::warning + if (MODM_LOG_LEVEL > ::modm::log::WARNING){} \ + else ::modm::log::warning /** * \brief Output stream for error messages * \ingroup modm_debug */ #define MODM_LOG_ERROR \ - if (MODM_LOG_LEVEL > modm::log::ERROR){} \ - else modm::log::error + if (MODM_LOG_LEVEL > ::modm::log::ERROR){} \ + else ::modm::log::error #ifdef __DOXYGEN__