[DEV] update of external of elog and ethread

This commit is contained in:
Edouard DUPIN 2016-03-08 21:29:34 +01:00
parent 4c14b4afc1
commit 1c9f6dbb32
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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)