Class EarlyLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.sun.enterprise.module.bootstrap.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)
-
-
-
Method Detail
-
publish
public void publish(java.util.logging.LogRecord record)
- Specified by:
publish
in classjava.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 classjava.util.logging.Handler
-
flush
public void flush()
Called to flush any cached data that this log handler may contain.- Specified by:
flush
in classjava.util.logging.Handler
-
-