Class CmsGwtLog


  • public class CmsGwtLog
    extends java.lang.Object
    Dummy log that does nothing on the server side.

    For the actual client side implementation, look in the super_src folder. We are doing this so that shared classes can use logging functions when run on the client.

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsGwtLog()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void log​(java.lang.String mesage)
      Logs a message to the browser console if possible.
      static void trace​(java.lang.String message)
      Logs a message with the current stack trace to the browser console if possible.
      static void warn​(java.lang.String message)
      Logs a warning to the browser console if possible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • log

        public static void log​(java.lang.String mesage)
        Logs a message to the browser console if possible.

        Parameters:
        message - the message to log
      • trace

        public static void trace​(java.lang.String message)
        Logs a message with the current stack trace to the browser console if possible.
        Parameters:
        message - the message to log
      • warn

        public static void warn​(java.lang.String message)
        Logs a warning to the browser console if possible.

        Parameters:
        message - the message to log