log domains in lower-case only please.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 7 Oct 2010 22:31:46 +0000 (22:31 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 7 Oct 2010 22:31:46 +0000 (22:31 +0000)
let's make it a standard so we don't have to look at the code
everytime to figure out the name...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@53172 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 files changed:
src/lib/ecore/ecore.c
src/lib/ecore_con/ecore_con.c
src/lib/ecore_config/ecore_config.c
src/lib/ecore_directfb/ecore_directfb.c
src/lib/ecore_evas/ecore_evas.c
src/lib/ecore_file/ecore_file.c
src/lib/ecore_imf/ecore_imf.c
src/lib/ecore_input/ecore_input.c
src/lib/ecore_input_evas/ecore_input_evas.c
src/lib/ecore_ipc/ecore_ipc.c
src/lib/ecore_sdl/ecore_sdl.c
src/lib/ecore_win32/ecore_win32.c
src/lib/ecore_wince/ecore_wince.c
src/lib/ecore_x/xcb/ecore_xcb.c
src/lib/ecore_x/xlib/ecore_x.c

index 5b0789c..5303ba7 100644 (file)
@@ -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();
index 778c392..2fc5d5a 100644 (file)
@@ -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.");
index e00481f..ddfc64f 100644 (file)
@@ -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.");
index 44d2d90..f45b3c3 100644 (file)
@@ -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.");
index cb51be5..4f65880 100644 (file)
@@ -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;
index a746570..6b69edd 100644 (file)
@@ -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;
index 060b8f2..bf83d95 100644 (file)
@@ -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();
index 16d0c2f..22740bf 100644 (file)
@@ -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.");
index 7d61780..174d540 100644 (file)
@@ -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.");
index 3900be4..4024280 100644 (file)
@@ -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.");
index 5a95cbf..89984aa 100644 (file)
@@ -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.");
index f10407b..7eb258a 100644 (file)
@@ -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");
index 9f7b594..44b7da3 100644 (file)
@@ -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");
index 9e8655e..8a2ef77 100644 (file)
@@ -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.");
index 42a9feb..eb1ea29 100644 (file)
@@ -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(