public class EarlyLogHandler
extends java.util.logging.Handler
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.ArrayBlockingQueue<java.util.logging.LogRecord> |
earlyMessages |
private static int |
MAX_MESSAGES |
Constructor and Description |
---|
EarlyLogHandler() |
Modifier and Type | Method and 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) |
private static int MAX_MESSAGES
public static final java.util.concurrent.ArrayBlockingQueue<java.util.logging.LogRecord> earlyMessages
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void logMessage(java.util.logging.Level level, java.lang.String message)
public void close()
close
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler