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: 53171
This commit is contained in:
parent
1520c60364
commit
bc2c59746d
|
@ -36,11 +36,10 @@ efreet_init(void)
|
|||
return --_efreet_init_count;
|
||||
if (!eet_init())
|
||||
goto shutdown_eina;
|
||||
_efreet_log_domain_global = eina_log_domain_register("Efreet", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_log_domain_global = eina_log_domain_register("efreet", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_log_domain_global < 0)
|
||||
{
|
||||
printf("Efreet could create a general log domain.\n");
|
||||
|
||||
EINA_LOG_ERR("Efreet could create a general log domain.");
|
||||
goto shutdown_eet;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,8 @@ static Eina_List *efreet_dirs_get(const char *key,
|
|||
int
|
||||
efreet_base_init(void)
|
||||
{
|
||||
_efreet_base_log_dom = eina_log_domain_register("Efreet_base", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_base_log_dom = eina_log_domain_register
|
||||
("efreet_base", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_base_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for efreet_base.\n");
|
||||
|
|
|
@ -154,10 +154,11 @@ efreet_desktop_init(void)
|
|||
{
|
||||
char buf[PATH_MAX];
|
||||
|
||||
_efreet_desktop_log_dom = eina_log_domain_register("Efreet_desktop", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_desktop_log_dom = eina_log_domain_register
|
||||
("efreet_desktop", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_desktop_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for Efreet_desktop");
|
||||
ERROR("Efreet: Could not create a log domain for efreet_desktop");
|
||||
return 0;
|
||||
}
|
||||
if (!ecore_file_init())
|
||||
|
|
|
@ -36,7 +36,8 @@ efreet_ini_value_save(const Eina_Hash *hash, const void *key, void *data, void *
|
|||
int
|
||||
efreet_ini_init(void)
|
||||
{
|
||||
_efreet_ini_log_dom = eina_log_domain_register("Efreet_init", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_ini_log_dom = eina_log_domain_register
|
||||
("efreet_init", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_ini_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for efreet_init");
|
||||
|
|
|
@ -461,10 +461,11 @@ efreet_menu_init(void)
|
|||
{NULL, NULL}
|
||||
};
|
||||
|
||||
_efreet_menu_log_dom = eina_log_domain_register("Efreet_menu", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_menu_log_dom = eina_log_domain_register
|
||||
("efreet_menu", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_menu_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for Efreet_menu");
|
||||
ERROR("Efreet: Could not create a log domain for efreet_menu");
|
||||
return 0;
|
||||
}
|
||||
if (!efreet_xml_init())
|
||||
|
|
|
@ -224,11 +224,12 @@ efreet_mime_init(void)
|
|||
if (!efreet_init())
|
||||
goto shutdown_ecore_file;
|
||||
|
||||
_efreet_mime_log_dom = eina_log_domain_register("Efreet_mime", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_mime_log_dom = eina_log_domain_register
|
||||
("efreet_mime", EFREET_DEFAULT_LOG_COLOR);
|
||||
|
||||
if (_efreet_mime_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for Efreet_mime.");
|
||||
ERROR("Efreet: Could not create a log domain for efreet_mime.");
|
||||
goto shutdown_efreet;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,10 +40,11 @@ efreet_trash_init(void)
|
|||
if (!eina_init())
|
||||
return --_efreet_trash_init_count;
|
||||
|
||||
_efreet_trash_log_dom = eina_log_domain_register("Efreet_trash", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_trash_log_dom = eina_log_domain_register
|
||||
("efreet_trash", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_trash_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for Efreet_trash");
|
||||
ERROR("Efreet: Could not create a log domain for efreet_trash");
|
||||
eina_shutdown();
|
||||
return --_efreet_trash_init_count;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,8 @@ int
|
|||
efreet_util_init(void)
|
||||
{
|
||||
if (init++) return init;
|
||||
_efreet_utils_log_dom = eina_log_domain_register("Efreet_util", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_utils_log_dom = eina_log_domain_register
|
||||
("efreet_util", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_utils_log_dom < 0)
|
||||
{
|
||||
ERROR("Efreet: Could not create a log domain for efreet_util");
|
||||
|
|
|
@ -55,11 +55,12 @@ efreet_xml_init(void)
|
|||
{
|
||||
_efreet_xml_init_count++;
|
||||
if (_efreet_xml_init_count > 1) return _efreet_xml_init_count;
|
||||
_efreet_xml_log_dom = eina_log_domain_register("Efreet_xml", EFREET_DEFAULT_LOG_COLOR);
|
||||
_efreet_xml_log_dom = eina_log_domain_register
|
||||
("efreet_xml", EFREET_DEFAULT_LOG_COLOR);
|
||||
if (_efreet_xml_log_dom < 0)
|
||||
{
|
||||
_efreet_xml_init_count--;
|
||||
ERROR("Efreet: Could not create a log domain for Efreet_xml.");
|
||||
ERROR("Efreet: Could not create a log domain for efreet_xml.");
|
||||
return _efreet_xml_init_count;
|
||||
}
|
||||
return _efreet_xml_init_count;
|
||||
|
|
Loading…
Reference in New Issue