On Wed, Nov 16, 2011 at 10:25 PM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > > + EINA_LOG_DOM_INFO(elev8_log_domain,"node\n");
1 - it is recommended to create a macro to avoid typing, instead of EINA_LOG_DOM_INFO(elev8_log_domain, ...) you type INF(...) and let the macro expand to that: #define DBG(...) EINA_LOG_DOM_DBG(elev8_log_domain, __VA_ARGS__) #define INF(...) EINA_LOG_DOM_INFO(elev8_log_domain, __VA_ARGS__) #define WRN(...) EINA_LOG_DOM_WARN(elev8_log_domain, __VA_ARGS__) #define ERR(...) EINA_LOG_DOM_ERR(elev8_log_domain, __VA_ARGS__) #define CRITICAL(...) EINA_LOG_DOM_CRITICAL(elev8_log_domain, __VA_ARGS__) 2 - log already adds \n, then you should not have it. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel