Class NullLogHandler


  • public class NullLogHandler
    extends java.util.logging.Handler
    A Handler which does nothing. When clients disable a default log handler in their gwt.xml file, the handler gets replaced with this one, and is effectively disabled.
    • Constructor Summary

      Constructors 
      Constructor Description
      NullLogHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      void publish​(java.util.logging.LogRecord record)  
      • Methods inherited from class java.util.logging.Handler

        getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
      • Methods inherited from class java.lang.Object

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

      • NullLogHandler

        public NullLogHandler()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in class java.util.logging.Handler
      • flush

        public void flush()
        Specified by:
        flush in class java.util.logging.Handler
      • publish

        public void publish​(java.util.logging.LogRecord record)
        Specified by:
        publish in class java.util.logging.Handler