[DEV] update of external of elog and ethread
This commit is contained in:
parent
4c14b4afc1
commit
1c9f6dbb32
@ -7,6 +7,6 @@
|
||||
#include <jvm-basics/debug.h>
|
||||
|
||||
int32_t jvm_basics::getLogId() {
|
||||
static int32_t g_val = etk::log::registerInstance("jvm-basics");
|
||||
static int32_t g_val = elog::registerInstance("jvm-basics");
|
||||
return g_val;
|
||||
}
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/log.h>
|
||||
#include <elog/log.h>
|
||||
|
||||
namespace jvm_basics {
|
||||
int32_t getLogId();
|
||||
}
|
||||
#define JVMB_BASE(info,data) TK_LOG_BASE(jvm_basics::getLogId(),info,data)
|
||||
#define JVMB_BASE(info,data) ELOG_BASE(jvm_basics::getLogId(),info,data)
|
||||
|
||||
#define JVMB_PRINT(data) JVMB_BASE(-1, data)
|
||||
#define JVMB_CRITICAL(data) JVMB_BASE(1, data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user