Reviewers: jat,


Please review this at http://gwt-code-reviews.appspot.com/126810

Affected files:
   user/src/com/google/gwt/core/client/GWT.java


Index: user/src/com/google/gwt/core/client/GWT.java
===================================================================
--- user/src/com/google/gwt/core/client/GWT.java        (revision 7325)
+++ user/src/com/google/gwt/core/client/GWT.java        (working copy)
@@ -197,6 +197,17 @@
     * optimized out in web mode.
     */
    @SuppressWarnings("unused")
+  public static void log(String message) {
+    if (sGWTBridge != null) {
+      sGWTBridge.log(message, null);
+    }
+  }
+
+  /**
+   * Logs a message to the development shell logger in hosted mode. Calls  
are
+   * optimized out in web mode.
+   */
+  @SuppressWarnings("unused")
    public static void log(String message, Throwable e) {
      if (sGWTBridge != null) {
        sGWTBridge.log(message, e);


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to