List of usage examples for com.google.gwt.logging.client LoggingPopup LoggingPopup
public LoggingPopup()
From source file:client.net.sf.saxon.ce.LogController.java
License:Mozilla Public License
public static void addRequiredLogHanders(LogRecord record) { jsLogHandler = new JsLogHandler(); mainLogger.addHandler(jsLogHandler); jsLogHandler.publish(record);/*w ww . j a v a2 s. c o m*/ GenericLogHandler gHandler = new GenericLogHandler(); // popup & firebug must be disabled using Saxonce.gwt.xml and enabled // below - if required if (gHandler.isSupported()) { mainLogger.addHandler(gHandler); gHandler.publish(record); } else if (!SaxonceApi.isLogHandlerExternal()) { HasWidgets loggingWidget = new LoggingPopup(); HasWidgetsLogHandler hw = new HasWidgetsLogHandler(loggingWidget); mainLogger.addHandler(hw); hw.publish(record); } }