The documentation mentions, that it's possible to make all logging code 
compile 
out<https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging#Making_All_Logging_Code_Compile_Out>,
 
but it doesn't mention how to compile out only certain levels.

This is however possible: The property "gwt.logging.enabled" can take the 
values FALSE, TRUE, SEVERE and WARNING (note: this is separate from the 
property "gwt.logging.logLevel, which can take ALL, FINEST, FINER, FINE, 
CONFIG, INFO, WARNING and SEVERE)

When "gwt.logging.enabled" is set to SEVERE or WARNING, then the finer 
levels will not be compiled into the permutation.

It would be nice if this information were integrated into the 
documentation. Also, I think it would be a good idea to add at least "INFO" 
to the allowed values of gwt.logging.enabled.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/joE7tiqkreIJ.
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/google-web-toolkit?hl=en.

Reply via email to