forked from enlightenment/efl
parent
1c7fa1c81b
commit
d416f2d8df
|
@ -90,27 +90,27 @@ extern int _eet_log_dom_global;
|
||||||
* the first four macros are the general macros for the lib
|
* the first four macros are the general macros for the lib
|
||||||
*/
|
*/
|
||||||
#ifdef EET_DEFAULT_LOG_COLOR
|
#ifdef EET_DEFAULT_LOG_COLOR
|
||||||
#undef EET_DEFAULT_LOG_COLOR
|
# undef EET_DEFAULT_LOG_COLOR
|
||||||
#endif
|
#endif
|
||||||
#define EET_DEFAULT_LOG_COLOR EINA_COLOR_CYAN
|
#define EET_DEFAULT_LOG_COLOR EINA_COLOR_CYAN
|
||||||
#ifdef ERR
|
#ifdef ERR
|
||||||
#undef ERR
|
# undef ERR
|
||||||
#endif
|
#endif
|
||||||
#define ERR(...) EINA_LOG_DOM_ERR(_eet_log_dom_global, __VA_ARGS__)
|
#define ERR(...) EINA_LOG_DOM_ERR(_eet_log_dom_global, __VA_ARGS__)
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
#undef DBG
|
# undef DBG
|
||||||
#endif
|
#endif
|
||||||
#define DBG(...) EINA_LOG_DOM_DBG(_eet_log_dom_global, __VA_ARGS__)
|
#define DBG(...) EINA_LOG_DOM_DBG(_eet_log_dom_global, __VA_ARGS__)
|
||||||
#ifdef INF
|
#ifdef INF
|
||||||
#undef INF
|
# undef INF
|
||||||
#endif
|
#endif
|
||||||
#define INF(...) EINA_LOG_DOM_INFO(_eet_log_dom_global, __VA_ARGS__)
|
#define INF(...) EINA_LOG_DOM_INFO(_eet_log_dom_global, __VA_ARGS__)
|
||||||
#ifdef WRN
|
#ifdef WRN
|
||||||
#undef WRN
|
# undef WRN
|
||||||
#endif
|
#endif
|
||||||
#define WRN(...) EINA_LOG_DOM_WARN(_eet_log_dom_global, __VA_ARGS__)
|
#define WRN(...) EINA_LOG_DOM_WARN(_eet_log_dom_global, __VA_ARGS__)
|
||||||
#ifdef CRIT
|
#ifdef CRIT
|
||||||
#undef CRIT
|
# undef CRIT
|
||||||
#endif
|
#endif
|
||||||
#define CRIT(...) EINA_LOG_DOM_CRIT(_eet_log_dom_global, __VA_ARGS__)
|
#define CRIT(...) EINA_LOG_DOM_CRIT(_eet_log_dom_global, __VA_ARGS__)
|
||||||
|
|
||||||
|
|
|
@ -734,7 +734,7 @@ eet_init(void)
|
||||||
|
|
||||||
if (!eina_init())
|
if (!eina_init())
|
||||||
{
|
{
|
||||||
fprintf(stderr,"Eet: Eina init failed");
|
fprintf(stderr, "Eet: Eina init failed");
|
||||||
return --eet_init_count;
|
return --eet_init_count;
|
||||||
}
|
}
|
||||||
_eet_log_dom_global = eina_log_domain_register("Eet", EET_DEFAULT_LOG_COLOR);
|
_eet_log_dom_global = eina_log_domain_register("Eet", EET_DEFAULT_LOG_COLOR);
|
||||||
|
|
Loading…
Reference in New Issue