log domains in lower-case only please.
let's make it a standard so we don't have to look at the code everytime to figure out the name... SVN revision: 53172
This commit is contained in:
parent
bc2c59746d
commit
3a88bc8b71
|
@ -104,11 +104,12 @@ ecore_init(void)
|
|||
#endif
|
||||
if (!eina_init())
|
||||
goto shutdown_evil;
|
||||
_ecore_log_dom = eina_log_domain_register("Ecore",ECORE_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_log_dom < 0) {
|
||||
EINA_LOG_ERR("Ecore was unable to create a log domain.");
|
||||
goto shutdown_log_dom;
|
||||
}
|
||||
_ecore_log_dom = eina_log_domain_register("ecore", ECORE_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Ecore was unable to create a log domain.");
|
||||
goto shutdown_log_dom;
|
||||
}
|
||||
if (getenv("ECORE_FPS_DEBUG")) _ecore_fps_debug = 1;
|
||||
if (_ecore_fps_debug) _ecore_fps_debug_init();
|
||||
_ecore_main_loop_init();
|
||||
|
|
|
@ -113,8 +113,8 @@ ecore_con_init(void)
|
|||
if (!ecore_init())
|
||||
return --_ecore_con_init_count;
|
||||
|
||||
_ecore_con_log_dom = eina_log_domain_register("EcoreCon",
|
||||
ECORE_CON_DEFAULT_LOG_COLOR);
|
||||
_ecore_con_log_dom = eina_log_domain_register
|
||||
("ecore_con", ECORE_CON_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_con_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for Ecore Con.");
|
||||
|
|
|
@ -1670,7 +1670,8 @@ ecore_config_init(const char *name)
|
|||
{
|
||||
char *path;
|
||||
Ecore_Config_Prop *list;
|
||||
_ecore_config_log_dom = eina_log_domain_register("EcoreConfig", ECORE_CONFIG_DEFAULT_LOG_COLOR);
|
||||
_ecore_config_log_dom = eina_log_domain_register
|
||||
("ecore_config", ECORE_CONFIG_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_config_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the Ecore config module.");
|
||||
|
|
|
@ -683,7 +683,8 @@ ecore_directfb_init(const char *name __UNUSED__)
|
|||
if (++_ecore_directfb_init_count != 1)
|
||||
return _ecore_directfb_init_count;
|
||||
|
||||
_ecore_directfb_log_dom = eina_log_domain_register("EcoreDirectFB", ECORE_DIRECTFB_DEFAULT_LOG_COLOR);
|
||||
_ecore_directfb_log_dom = eina_log_domain_register
|
||||
("ecore_directfb", ECORE_DIRECTFB_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_directfb_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the Ecore directFB module.");
|
||||
|
|
|
@ -211,8 +211,9 @@ ecore_evas_init(void)
|
|||
if (!ecore_init())
|
||||
goto shutdown_evas;
|
||||
|
||||
_ecore_evas_log_dom = eina_log_domain_register("Ecore_Evas", ECORE_EVAS_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_evas_log_dom < 0)
|
||||
_ecore_evas_log_dom = eina_log_domain_register
|
||||
("ecore_evas", ECORE_EVAS_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_evas_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for Ecore_Evas.");
|
||||
goto shutdown_ecore;
|
||||
|
|
|
@ -37,8 +37,9 @@ ecore_file_init()
|
|||
{
|
||||
if (++_ecore_file_init_count != 1)
|
||||
return _ecore_file_init_count;
|
||||
_ecore_file_log_dom = eina_log_domain_register("EcoreFile", ECORE_FILE_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_file_log_dom < 0)
|
||||
_ecore_file_log_dom = eina_log_domain_register
|
||||
("ecore_file", ECORE_FILE_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_file_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the ecore file module.");
|
||||
return --_ecore_file_init_count;
|
||||
|
|
|
@ -36,8 +36,9 @@ ecore_imf_init(void)
|
|||
if (++_ecore_imf_init_count != 1) return _ecore_imf_init_count;
|
||||
|
||||
if (!ecore_init()) return --_ecore_imf_init_count;
|
||||
_ecore_imf_log_dom = eina_log_domain_register("EcoreIMF", ECORE_IMF_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_imf_log_dom < 0)
|
||||
_ecore_imf_log_dom = eina_log_domain_register
|
||||
("ecore_imf", ECORE_IMF_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_imf_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the Ecore IMF module.");
|
||||
ecore_shutdown();
|
||||
|
|
|
@ -31,7 +31,8 @@ ecore_event_init(void)
|
|||
if (++_ecore_event_init_count != 1)
|
||||
return _ecore_event_init_count;
|
||||
|
||||
_ecore_input_log_dom = eina_log_domain_register("EcoreInput", ECORE_INPUT_DEFAULT_LOG_COLOR);
|
||||
_ecore_input_log_dom = eina_log_domain_register
|
||||
("ecore_input", ECORE_INPUT_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_input_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the ecore input module.");
|
||||
|
|
|
@ -271,7 +271,8 @@ ecore_event_evas_init(void)
|
|||
if (++_ecore_event_evas_init_count != 1)
|
||||
return _ecore_event_evas_init_count;
|
||||
|
||||
_ecore_input_evas_log_dom = eina_log_domain_register("EcoreInputEvas", ECORE_INPUT_EVAS_DEFAULT_LOG_COLOR);
|
||||
_ecore_input_evas_log_dom = eina_log_domain_register
|
||||
("ecore_input_evas", ECORE_INPUT_EVAS_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_input_evas_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the ecore input evas_module.");
|
||||
|
|
|
@ -264,7 +264,8 @@ ecore_ipc_init(void)
|
|||
|
||||
if (++_ecore_ipc_init_count != 1)
|
||||
return _ecore_ipc_init_count;
|
||||
_ecore_ipc_log_dom = eina_log_domain_register("EcoreIpc", ECORE_IPC_DEFAULT_LOG_COLOR);
|
||||
_ecore_ipc_log_dom = eina_log_domain_register
|
||||
("ecore_ipc", ECORE_IPC_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_ipc_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the Ecore IPC module.");
|
||||
|
|
|
@ -67,7 +67,8 @@ ecore_sdl_init(const char *name __UNUSED__)
|
|||
{
|
||||
if(++_ecore_sdl_init_count != 1)
|
||||
return _ecore_sdl_init_count;
|
||||
_ecore_sdl_log_dom = eina_log_domain_register("EcoreSdl", ECORE_SDL_DEFAULT_LOG_COLOR);
|
||||
_ecore_sdl_log_dom = eina_log_domain_register
|
||||
("ecore_sdl", ECORE_SDL_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_sdl_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain for the Ecore SDL module.");
|
||||
|
|
|
@ -286,7 +286,8 @@ ecore_win32_init()
|
|||
if (!eina_init())
|
||||
return --_ecore_win32_init_count;
|
||||
|
||||
_ecore_win32_log_dom_global = eina_log_domain_register("ecore_win32", ECORE_WIN32_DEFAULT_LOG_COLOR);
|
||||
_ecore_win32_log_dom_global = eina_log_domain_register
|
||||
("ecore_win32", ECORE_WIN32_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_win32_log_dom_global < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Ecore_Win32: Could not register log domain");
|
||||
|
|
|
@ -238,7 +238,8 @@ ecore_wince_init()
|
|||
return --_ecore_wince_init_count;
|
||||
|
||||
eina_log_print_cb_set(_ecore_wince_error_print_cb, NULL);
|
||||
_ecore_wince_log_dom_global = eina_log_domain_register("ecore_wince", ECORE_WINCE_DEFAULT_LOG_COLOR);
|
||||
_ecore_wince_log_dom_global = eina_log_domain_register
|
||||
("ecore_wince", ECORE_WINCE_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_wince_log_dom_global < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Ecore_WinCE: Could not register log domain");
|
||||
|
|
|
@ -196,7 +196,8 @@ ecore_x_init(const char *name)
|
|||
if (!eina_init())
|
||||
return --_ecore_xcb_init_count;
|
||||
|
||||
_ecore_x11xcb_log_dom = eina_log_domain_register("EcoreXCB", ECORE_XLIB_XCB_DEFAULT_LOG_COLOR);
|
||||
_ecore_x11xcb_log_dom = eina_log_domain_register
|
||||
("ecore_x", ECORE_XLIB_XCB_DEFAULT_LOG_COLOR);
|
||||
if (_ecore_x11xcb_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR("Impossible to create a log domain the Ecore XCB module.");
|
||||
|
|
|
@ -253,8 +253,8 @@ ecore_x_init(const char *name)
|
|||
#endif /* ifdef LOGRT */
|
||||
|
||||
eina_init();
|
||||
_ecore_xlib_log_dom = eina_log_domain_register("EcoreX11",
|
||||
ECORE_XLIB_DEFAULT_LOG_COLOR);
|
||||
_ecore_xlib_log_dom = eina_log_domain_register
|
||||
("ecore_x", ECORE_XLIB_DEFAULT_LOG_COLOR);
|
||||
if(_ecore_xlib_log_dom < 0)
|
||||
{
|
||||
EINA_LOG_ERR(
|
||||
|
|
Loading…
Reference in New Issue