Documentation of GWT logging (compile out of log levels)

82 views
Skip to first unread message

Chris Lercher

unread,
Sep 29, 2012, 9:45:00 AM9/29/12
to google-we...@googlegroups.com
The documentation mentions, that it's possible to make 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.
Reply all
Reply to author
Forward
0 new messages