On Fri, Feb 26, 2010 at 3:02 AM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Thu, 25 Feb 2010 15:01:02 -0300 Gustavo Sverzut Barbieri
> <barbi...@profusion.mobi> said:
>
> because eina_log doesnt do what i want. i'm busy tracking down issues not
> trying to get a gold star for using eina (which doesnt do what i want - i DONT
> want any code there if its turned off - no fn call - nothing, but i also dont
> ant to disable logging in general). eina ALWAYS adds logging code - ALWAYS. i
> dont want that. (either its a eina_log_print or a do while with an if in it to
> call the same fn).

you can set maximum log level and define your func to be of that
level. in that case there will be code, but it will fall into 2
constant comparison and compilers will just remove the code into the
binary, like:

if (5 > 4) { debug ... }

so again, consider keeping the debugs with eina_log.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to