[DEV] update of external of elog and ethread
This commit is contained in:
parent
054966f3c5
commit
9d38ad6a4d
@ -9,6 +9,6 @@
|
||||
#include <egami/debug.h>
|
||||
|
||||
int32_t egami::getLogId() {
|
||||
static int32_t g_val = etk::log::registerInstance("egami");
|
||||
static int32_t g_val = elog::registerInstance("egami");
|
||||
return g_val;
|
||||
}
|
||||
|
@ -7,12 +7,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/log.h>
|
||||
#include <elog/log.h>
|
||||
|
||||
namespace egami {
|
||||
int32_t getLogId();
|
||||
};
|
||||
#define EGAMI_BASE(info,data) TK_LOG_BASE(egami::getLogId(),info,data)
|
||||
#define EGAMI_BASE(info,data) ELOG_BASE(egami::getLogId(),info,data)
|
||||
|
||||
#define EGAMI_CRITICAL(data) EGAMI_BASE(1, data)
|
||||
#define EGAMI_ERROR(data) EGAMI_BASE(2, data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user