diff --git a/test/debug.h b/test/debug.h index e2000e3..8238049 100644 --- a/test/debug.h +++ b/test/debug.h @@ -15,16 +15,16 @@ namespace appl { #define APPL_BASE(info,data) TK_LOG_BASE(appl::getLogId(),info,data) +#define APPL_PRINT(data) APPL_BASE(-1, data) #define APPL_CRITICAL(data) APPL_BASE(1, data) #define APPL_ERROR(data) APPL_BASE(2, data) #define APPL_WARNING(data) APPL_BASE(3, data) +#define APPL_INFO(data) APPL_BASE(4, data) #ifdef DEBUG - #define APPL_INFO(data) APPL_BASE(4, data) #define APPL_DEBUG(data) APPL_BASE(5, data) #define APPL_VERBOSE(data) APPL_BASE(6, data) #define APPL_TODO(data) APPL_BASE(4, "TODO : " << data) #else - #define APPL_INFO(data) do { } while(false) #define APPL_DEBUG(data) do { } while(false) #define APPL_VERBOSE(data) do { } while(false) #define APPL_TODO(data) do { } while(false) diff --git a/test/main.cpp b/test/main.cpp index 4ef396b..2c914d9 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -10,6 +10,7 @@ #include