diff --git a/eci/debug.h b/eci/debug.h index 1407f57..325634b 100644 --- a/eci/debug.h +++ b/eci/debug.h @@ -14,16 +14,7 @@ namespace eci { int32_t getLogId(); }; -// TODO : Review this problem of multiple intanciation of "std::stringbuf sb" -#define ECI_BASE(info,data) \ - do { \ - if (info <= etk::log::getLevel(eci::getLogId())) { \ - std::stringbuf sb; \ - std::ostream tmpStream(&sb); \ - tmpStream << data; \ - etk::log::logStream(eci::getLogId(), info, __LINE__, __class__, __func__, tmpStream); \ - } \ - } while(0) +#define ECI_BASE(info,data) TK_LOG_BASE(eci::getLogId(),info,data) #define ECI_CRITICAL(data) ECI_BASE(1, data) #define ECI_ERROR(data) ECI_BASE(2, data) diff --git a/lutin_eci2.py b/lutin_eci2.py index 327ba44..682bb64 100644 --- a/lutin_eci2.py +++ b/lutin_eci2.py @@ -1,8 +1,7 @@ #!/usr/bin/python -import lutinModule as module -import lutinTools as tools +import lutin.module as module +import lutin.tools as tools import os -import lutinMultiprocess def get_desc(): return "Ewol C Interpreter"