Hi,
In some cases, smartgwt can flood the browser console with Warning logs like below:
0:59:22.210:WARN:drawing:isc_MyViewWidget_0_body_vscroll:negative or zero area: height: 0, width: 16, refusing to draw (here the application is integrated in an iframe, but not yet displayed)
As I did not find helpful things to prevent this on this forum, please find below a programmatic way to setup the client side logging system (which is also based on categories / levels like any standard logging system) :
This would at least let you adjust default priorities (level thresholds) at runtime.
Of course this method should be invoked at very beginning of initialization
In some cases, smartgwt can flood the browser console with Warning logs like below:
0:59:22.210:WARN:drawing:isc_MyViewWidget_0_body_vscroll:negative or zero area: height: 0, width: 16, refusing to draw (here the application is integrated in an iframe, but not yet displayed)
As I did not find helpful things to prevent this on this forum, please find below a programmatic way to setup the client side logging system (which is also based on categories / levels like any standard logging system) :
Code:
public static native void configureIsomorphicClientLoggingSystem() /*-{ try { $wnd.isc.Log.setPriority("drawing",$wnd.isc.Log.ERROR); $wnd.isc.Log.setPriority("GridBody",$wnd.isc.Log.ERROR); } catch (error) { console.log(error); } }-*/;
Of course this method should be invoked at very beginning of initialization
Comment