hello folks,
whats the difference between the:
<set-property name="gwt.logging.logLevel" value="OFF"/>
and
<set-property name="gwt.logging.enabled" value="FALSE"/>
?
I understand I can use LogConfiguration.loggingIsEnabled() to wrap the
code I want to optimize away during compilation, but I could also do:
if(java.util.logging.Logger.isLoggable(Level.INFO)) {
logger.info("this code will be compiled out if logLevel is below
requested? complex result: " + doSomeComplexCalc());
}
couldn't I?
or, I guess that gwt.logging.logLevel does not effect the compiler, so
only gwt.logging.enabled will provide NULL implementation?
what about the loglevels - is there new permutation per each or are
logging instructions not inlined during compilation? ( like in gwt-log
project )
are there more papers on new logging I can dive in?
thank you.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors