XRLogger interface that uses java.util.logging.
https://github.com/danfickle/openhtmltopdf/wiki/Logging
| Modifier and Type | Field and Description |
|---|---|
| private final Formatter | |
| private final Handler | |
| private volatile boolean | |
| private final Level | |
| private volatile Map | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private Logger | |
| private void | |
| private void | |
| public boolean | isLogLevelEnabled(Diagnostic diagnostic)
Implements com.
|
| public void | |
| public void | |
| private Map | retrieveLoggers()
Returns a List of all Logger instances used by this project from the JDK LogManager; these will be automatically created if they aren't already available. |
| public void |
| formatter | back to summary |
|---|---|
| private final Formatter formatter | |
| handler | back to summary |
|---|---|
| private final Handler handler | |
| initPending | back to summary |
|---|---|
| private volatile boolean initPending | |
| level | back to summary |
|---|---|
| private final Level level | |
| loggers | back to summary |
|---|---|
| private volatile Map<String, Logger> loggers | |
| useParent | back to summary |
|---|---|
| private final boolean useParent | |
| JDKXRLogger | back to summary |
|---|---|
| public JDKXRLogger() | |
| JDKXRLogger | back to summary |
|---|---|
| public JDKXRLogger(boolean useParent, Level level, Handler handler, Formatter formatter) | |
| checkInitPending | back to summary |
|---|---|
| private void checkInitPending() | |
| configureLoggerHandlerForwarding | back to summary |
|---|---|
| private void configureLoggerHandlerForwarding(boolean useParentHandlers) | |
| configureLogHandlers | back to summary |
|---|---|
| private void configureLogHandlers(Handler handler, Formatter formatter) | |
| configureLogLevels | back to summary |
|---|---|
| private void configureLogLevels(Level level) | |
| getLogger | back to summary |
|---|---|
| private Logger getLogger(String log) Same purpose as Logger.getLogger(), except that the static initialization for XRLog will initialize the LogManager with logging levels and other configuration. Use this instead of Logger.getLogger() | |
| init | back to summary |
|---|---|
| private void init(boolean useParent, Level level, Handler handler, Formatter formatter) | |
| initializeJDKLogManager | back to summary |
|---|---|
| private void initializeJDKLogManager(boolean useParent, Level level, Handler handler, Formatter formatter) | |
| isLogLevelEnabled | back to summary |
|---|---|
| public boolean isLogLevelEnabled(Diagnostic diagnostic) Implements com.
| |
| log | back to summary |
|---|---|
| public void log(String where, Level level, String msg) Implements com.
| |
| log | back to summary |
|---|---|
| public void log(String where, Level level, String msg, Throwable th) Implements com.
| |
| retrieveLoggers | back to summary |
|---|---|
| private Map Returns a List of all Logger instances used by this project from the JDK LogManager; these will be automatically created if they aren't already available. | |
| setLevel | back to summary |
|---|---|
| public void setLevel(String logger, Level level) Implements com.
| |