From 1c9f6dbb32a1ca8ab9d2756ade4c81fead74ff75 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 8 Mar 2016 21:29:34 +0100 Subject: [PATCH] [DEV] update of external of elog and ethread --- jvm-basics/debug.cpp | 2 +- jvm-basics/debug.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jvm-basics/debug.cpp b/jvm-basics/debug.cpp index e899962..22e1c5d 100644 --- a/jvm-basics/debug.cpp +++ b/jvm-basics/debug.cpp @@ -7,6 +7,6 @@ #include 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; } diff --git a/jvm-basics/debug.h b/jvm-basics/debug.h index 82f2450..9227c5b 100644 --- a/jvm-basics/debug.h +++ b/jvm-basics/debug.h @@ -5,12 +5,12 @@ */ #pragma once -#include +#include 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)