Just a quick example.
Add this line to the * .gwt.xml file. Its in the parent package of your client source. The topmost package.
<inherits name="com.google.gwt.logging.Logging"/>
Add this to the .java file, say in the onModuleLoad () method
public void onModuleLoad() { Logger logger = Logger.getLogger("NameOfYourLogger"); logger.log(Level.SEVERE, "this message should get logged");
Vincent vetukal
source share