|
|
@@ -30,10 +30,10 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
|
#include "ConsoleServer.h"
|
|
|
|
|
|
#if defined(CROWN_DEBUG) || defined(CROWN_DEVELOPMENT)
|
|
|
- #define CE_LOGI(msg, ...) crown::device()->console()->log_to_all(LogSeverity::INFO, msg, ##__VA_ARGS__)
|
|
|
- #define CE_LOGD(msg, ...) crown::device()->console()->log_to_all(LogSeverity::DEBUG, msg, ##__VA_ARGS__)
|
|
|
- #define CE_LOGE(msg, ...) crown::device()->console()->log_to_all(LogSeverity::ERROR, msg, ##__VA_ARGS__)
|
|
|
- #define CE_LOGW(msg, ...) crown::device()->console()->log_to_all(LogSeverity::WARN, msg, ##__VA_ARGS__)
|
|
|
+ #define CE_LOGI(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::INFO, msg, ##__VA_ARGS__)
|
|
|
+ #define CE_LOGD(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::DEBUG, msg, ##__VA_ARGS__)
|
|
|
+ #define CE_LOGE(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::ERROR, msg, ##__VA_ARGS__)
|
|
|
+ #define CE_LOGW(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::WARN, msg, ##__VA_ARGS__)
|
|
|
#else
|
|
|
#define CE_LOGI(msg, ...) ((void)0)
|
|
|
#define CE_LOGD(msg, ...) ((void)0)
|