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