[DEV] update of external of elog and ethread

This commit is contained in:
2016-03-08 21:29:34 +01:00
parent dd2e5240e3
commit e7d5b421c3
39 changed files with 536 additions and 536 deletions

View File

@@ -8,6 +8,6 @@
int32_t appl::getLogId() {
static int32_t g_val = etk::log::registerInstance("ioViewer");
static int32_t g_val = elog::registerInstance("ioViewer");
return g_val;
}

View File

@@ -5,13 +5,13 @@
*/
#pragma once
#include <etk/log.h>
#include <elog/log.h>
namespace appl {
int32_t getLogId();
}
#define APPL_BASE(info,data) TK_LOG_BASE(appl::getLogId(),info,data)
#define APPL_BASE(info,data) ELOG_BASE(appl::getLogId(),info,data)
#define APPL_PRINT(data) APPL_BASE(-1, data)
#define APPL_CRITICAL(data) APPL_BASE(1, data)