Hi,

at the bottom of http://code.google.com/p/gwt-log/wiki/GettingStarted,
there's an example that shows, when to use if (Log.isDebugEnabled())
{...}

I would like to know a little bit more about that: In which cases can
the code be removed for log_level=OFF? I tried the following:

Log.debug("Adding " + list.size() + " items");

Looking at the compiled JS, the call to list.size() is removed nicely
from the output. Can I assume that everything I use inside the
parentheses always gets removed? In which cases (roughly) can't the
compiler remove the code anymore?

Thanks
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en.

Reply via email to