>> Now what is the difference between EINA_LOG_ERR and EINA_LOG_DOM_ERR in >> this case. Would it be wise to create an individual logging domain for >> each module or can we stick to the central logging domain defined in >> eina_log_init() function. Now in the following example, i can not delete >> the eina_error_init() function because some of the functions in the >> eina_array.c file use the eina_error_set function. >> > EINA_LOG_ERR() will assume EINA_LOG_DOMAIN_GLOBAL, so you're code is > not correct, you should either use EINA_LOG_ERR("bla") or > EINA_LOG_DOM_ERR(EINA_LOG_DOMAIN_GLOBAL, "bla"). > > We should have one domain per-submodule (or at least one domain > exclusive for eina), the more fine grained, the better to debug. > Thanks for the information. I will start on it as soon as possible.
best Mathieu ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel