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