[DEV] update of external of elog and ethread

This commit is contained in:
Edouard DUPIN 2016-03-08 21:29:34 +01:00
parent 74c2fc7364
commit c3044af7ef
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#include <esvg/debug.h>
int32_t esvg::getLogId() {
static int32_t g_val = etk::log::registerInstance("esvg");
static int32_t g_val = elog::registerInstance("esvg");
return g_val;
}

View File

@ -7,12 +7,12 @@
*/
#pragma once
#include <etk/log.h>
#include <elog/log.h>
namespace esvg {
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_CRITICAL(data) ESVG_BASE(1, data)