Class EarlyLogHandler


  • public class EarlyLogHandler
    extends java.util.logging.Handler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.concurrent.ArrayBlockingQueue<java.util.logging.LogRecord> earlyMessages  
      private static int MAX_MESSAGES  
    • Constructor Summary

      Constructors 
      Constructor Description
      EarlyLogHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Called to close this log handler.
      void flush()
      Called to flush any cached data that this log handler may contain.
      void logMessage​(java.util.logging.Level level, java.lang.String message)  
      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
    • Field Detail

      • MAX_MESSAGES

        private static int MAX_MESSAGES
      • earlyMessages

        public static final java.util.concurrent.ArrayBlockingQueue<java.util.logging.LogRecord> earlyMessages
    • Constructor Detail

      • EarlyLogHandler

        public EarlyLogHandler()
    • Method Detail

      • publish

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

        public void logMessage​(java.util.logging.Level level,
                               java.lang.String message)
      • close

        public void close()
        Called to close this log handler.
        Specified by:
        close in class java.util.logging.Handler
      • flush

        public void flush()
        Called to flush any cached data that this log handler may contain.
        Specified by:
        flush in class java.util.logging.Handler