From: Christos Stathis Date: Thu, 2 Feb 2012 14:48:11 +0000 (+0200) Subject: Added a native log() that writes to the browser 's console for debugging X-Git-Tag: v0.1~5 X-Git-Url: https://code.grnet.gr/git/pithos-web-client/commitdiff_plain/c758f6567b50bb7707d6eb9c7fe78bf57dce39b0 Added a native log() that writes to the browser 's console for debugging --- diff --git a/src/gr/grnet/pithos/web/client/Pithos.java b/src/gr/grnet/pithos/web/client/Pithos.java index 8207940..50b0f48 100644 --- a/src/gr/grnet/pithos/web/client/Pithos.java +++ b/src/gr/grnet/pithos/web/client/Pithos.java @@ -1194,6 +1194,10 @@ public class Pithos implements EntryPoint, ResizeHandler { Cookies.removeCookie(s, "/"); Window.Location.assign(config.logoutUrl()); } + + public native void log1(String message)/*-{ + $wnd.console.log(message); + }-*/; public String getErrorData() { if (error != null)