[DEV] update of external of elog and ethread

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

View File

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

View File

@ -7,12 +7,12 @@
*/
#pragma once
#include <etk/log.h>
#include <elog/log.h>
namespace eproperty {
int32_t getLogId();
};
#define EPROPERTY_BASE(info,data) TK_LOG_BASE(eproperty::getLogId(),info,data)
#define EPROPERTY_BASE(info,data) ELOG_BASE(eproperty::getLogId(),info,data)
#define EPROPERTY_PRINT(data) EPROPERTY_BASE(-1, data)
#define EPROPERTY_CRITICAL(data) EPROPERTY_BASE(1, data)