public class JdkHandler extends Handler
JUL Handler that bridges log records to Pax Logging loggers.
Even if SimpleFormatter is used, we only call its
Formatter.formatMessage(LogRecord) which only uses
MessageFormat.format(String, Object...) method on log record's message.
It doesn't do anything with remaining fields of LogRecord.
| Constructor and Description |
|---|
JdkHandler(PaxLoggingManager loggingManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
publish(LogRecord record)
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic JdkHandler(PaxLoggingManager loggingManager)
public void close()
throws SecurityException
close in class HandlerSecurityExceptionCopyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.