gwt-log - Runtime logging for your Google Web Toolkit projects.
by Fred Sauer
Key Features:
  • Client logging code is compiled out and introduces zero-overhead* due to GWT 1.5 compiler dead code elimination when log_level=OFF
  • Serializable classes (domain objects, POJOs, etc.) can utilize the same logging code on client and server via inclusion of a single, common, gwt-log jar on both tiers
  • Server side logging for mobile devices such as the iPhone
  • Server side logging automatically detects Apache log4j, falling back to JDK 1.4 logging
  • Remote logging option, which send copies of all client log messages to the server
  • Six out of the box log levels (DEBUG, INFO, WARN, ERROR, FATAL, OFF)
  • Log level can be controlled via log_level URL parameter, GWT meta tag in your HTML, or in your module *.gwt.xml file
  • Wide variety of context sensitive log destinations: draggable popup DIV, Firebug, console.log(), GWT.log(), System.err()/System.out(), remote (server) logging
  • Ability to independently control compile time and runtime log levels

* Unless your logging parameters are determined by the GWT compiler to have side effects
Interactive Demo:

Loading demo. Please wait...