Top Fields Constructors Methods
com.sun.enterprise.module.bootstrap

public Class EarlyLogHandler

extends Handler
Class Inheritance
Imports
java.util.concurrent.ArrayBlockingQueue, java.util.logging.Handler, .LogRecord, .Level

Field Summary

Modifier and TypeField and Description
public static final ArrayBlockingQueue<LogRecord>
private static int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements abstract java.util.logging.Handler.close.

Called to close this log handler.

public void
flush()

Implements abstract java.util.logging.Handler.flush.

Called to flush any cached data that this log handler may contain.

public void
logMessage(Level level, String message)

public void
publish(LogRecord record)

Implements abstract java.util.logging.Handler.publish.

Publish a LogRecord.

Inherited from java.util.logging.Handler:
getEncodinggetErrorManagergetFiltergetFormattergetLevelisLoggablereportErrorsetEncodingsetErrorManagersetFiltersetFormattersetLevel

Field Detail

earlyMessagesback to summary
public static final ArrayBlockingQueue<LogRecord> earlyMessages
MAX_MESSAGESback to summary
private static int MAX_MESSAGES

Constructor Detail

EarlyLogHandlerback to summary
public EarlyLogHandler()

Method Detail

closeback to summary
public void close()

Implements abstract java.util.logging.Handler.close.

Called to close this log handler.

flushback to summary
public void flush()

Implements abstract java.util.logging.Handler.flush.

Called to flush any cached data that this log handler may contain.

logMessageback to summary
public void logMessage(Level level, String message)
publishback to summary
public void publish(LogRecord record)

Implements abstract java.util.logging.Handler.publish.

Doc from java.util.logging.Handler.publish.

Publish a LogRecord.

The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.

The Handler is responsible for formatting the message, when and if necessary. The formatting should include localization.