[DEV] update of external of elog and ethread
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user