From 9d38ad6a4de660e947c548d2de9099812d1c0180 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 --- egami/debug.cpp | 2 +- egami/debug.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/egami/debug.cpp b/egami/debug.cpp index 5b0d011..0793408 100644 --- a/egami/debug.cpp +++ b/egami/debug.cpp @@ -9,6 +9,6 @@ #include int32_t egami::getLogId() { - static int32_t g_val = etk::log::registerInstance("egami"); + static int32_t g_val = elog::registerInstance("egami"); return g_val; } diff --git a/egami/debug.h b/egami/debug.h index c5cc986..7af299d 100644 --- a/egami/debug.h +++ b/egami/debug.h @@ -7,12 +7,12 @@ */ #pragma once -#include +#include namespace egami { int32_t getLogId(); }; -#define EGAMI_BASE(info,data) TK_LOG_BASE(egami::getLogId(),info,data) +#define EGAMI_BASE(info,data) ELOG_BASE(egami::getLogId(),info,data) #define EGAMI_CRITICAL(data) EGAMI_BASE(1, data) #define EGAMI_ERROR(data) EGAMI_BASE(2, data)