Moving the GWT Logging Window

I currently use the GWT built-in to logger, however the way it is attached to the RootPanel is inconvenient and it usually closes with any panels located on top. Does anyone know how to move it? I never attached it to the main panel, it seems that he attaches himself. Thank.

+5
source share
3 answers

https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging#Different_Types_of_Handlers

Although PopupLogHandler is easy to use, it is also a bit invasive. The best solution for most applications is to disable PopupLogHandler and instead send log messages to a panel somewhere in your application.

Just use

logger.addHandler(new HasWidgetsLogHandler(customLogArea));

customLogArea , HasWidgets (, FlowPanel, RootPanel,...). HTML-, uiBinder. , ( CSS ).

+3

? Firefox Chrome, firebug/developer. .

<set-property name='gwt.logging.enabled' value='TRUE'/>           
<set-property name='gwt.logging.consoleHandler' value='ENABLED'/>
<set-property name='gwt.logging.firebugHandler' value='ENABLED'/>  
<set-property name='gwt.logging.popupHandler' value='DISABLED'/> 
+10

I ended up removing the panel by adding the following to the gwt.xml file:

`<set-property name="gwt.logging.consoleHandler" value="DISABLED" />`
+1
source

All Articles