This logger provides abstraction over the three logger APIs supported optionally by jOOQ. These are (in order of preference):
JooqLogger tries to instantiate any of the above loggers,
catching potential NoClassDefFoundError's in case any logger API
cannot be found on the classpath.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | JooqLogger.Level
Deprecated
- Use The log level.
org. instead
|
| Modifier and Type | Field and Description |
|---|---|
| private static volatile Log. | |
| private final AtomicInteger | |
| private Logger | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | debug(Object
The log message message, Object The message details (padded to a constant-width message) details)Implements org. DEBUG level.
|
| public void | debug(Object
The log message message, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. DEBUG level.
|
| public void | debug(Object
The log message message, Object The message details (padded to a constant-width message) details, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. DEBUG level.
|
| private final void | |
| public void | |
| public void | error(Object
The log message message, Object The message details (padded to a constant-width message) details)Implements org. ERROR level.
|
| public void | error(Object
The log message message, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. ERROR level.
|
| public void | error(Object
The log message message, Object The message details (padded to a constant-width message) details, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. ERROR level.
|
| public static JooqLogger | |
| public static JooqLogger | |
| public static JooqLogger | |
| public static JooqLogger | |
| public static JooqLogger | |
| private String | |
| public static void | globalThreshold(JooqLogger.
Deprecated
as a consequence of
Set a global level threshold to all JooqLoggers.
JooqLogger.Level being deprecated.
|
| public static void | |
| public void | |
| public void | info(Object
The log message message, Object The message details (padded to a constant-width message) details)Implements org. INFO level.
|
| public void | info(Object
The log message message, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. INFO level.
|
| public void | info(Object
The log message message, Object The message details (padded to a constant-width message) details, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. INFO level.
|
| public static void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | log(Log.
The log level level,The log message message)Implements org. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | trace(Object
The log message message, Object The message details (padded to a constant-width message) details)Implements org. TRACE level.
|
| public void | trace(Object
The log message message, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. TRACE level.
|
| public void | trace(Object
The log message message, Object The message details (padded to a constant-width message) details, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. TRACE level.
|
| public void | |
| public void | warn(Object
The log message message, Object The message details (padded to a constant-width message) details)Implements org. WARN level.
|
| public void | warn(Object
The log message message, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. WARN level.
|
| public void | warn(Object
The log message message, Object The message details (padded to a constant-width message) details, Throwable An exception whose stacktrace is logged along with the
message throwable)Implements org. WARN level.
|
| globalThreshold | back to summary |
|---|---|
| private static volatile Log. | |
| limitMessages | back to summary |
|---|---|
| private final AtomicInteger limitMessages | |
| slf4j | back to summary |
|---|---|
| private Logger slf4j | |
| supportsDebug | back to summary |
|---|---|
| private boolean supportsDebug | |
| supportsInfo | back to summary |
|---|---|
| private boolean supportsInfo | |
| supportsTrace | back to summary |
|---|---|
| private boolean supportsTrace | |
| supportsWarn | back to summary |
|---|---|
| private boolean supportsWarn | |
| util | back to summary |
|---|---|
| private Logger util | |
| JooqLogger | back to summary |
|---|---|
| public JooqLogger(int limitMessages) | |
| debug | back to summary |
|---|---|
| public void debug(Object message) Implements org. Log a message in | |
| debug | back to summary |
|---|---|
| public void debug(Object message, Object details) Implements org. Log a message in | |
| debug | back to summary |
|---|---|
| public void debug(Object message, Throwable throwable) Implements org. Log a message in | |
| debug | back to summary |
|---|---|
| public void debug(Object message, Object details, Throwable throwable) Implements org. Log a message in | |
| decrementLimitAndDo | back to summary |
|---|---|
| private final void decrementLimitAndDo(Runnable runnable) | |
| error | back to summary |
|---|---|
| public void error(Object message) Implements org. Log a message in | |
| error | back to summary |
|---|---|
| public void error(Object message, Object details) Implements org. Log a message in | |
| error | back to summary |
|---|---|
| public void error(Object message, Throwable throwable) Implements org. Log a message in | |
| error | back to summary |
|---|---|
| public void error(Object message, Object details, Throwable throwable) Implements org. Log a message in | |
| getLogger | back to summary |
|---|---|
| public static JooqLogger getLogger(Class<?> clazz) Get a logger wrapper for a class. | |
| getLogger | back to summary |
|---|---|
| public static JooqLogger getLogger(String name) Get a logger wrapper for a class. | |
| getLogger | back to summary |
|---|---|
| public static JooqLogger getLogger(Class<?> clazz, int limitMessages) Get a logger wrapper for a class, which logs at most a certain number of messages. | |
| getLogger | back to summary |
|---|---|
| public static JooqLogger getLogger(String name, int limitMessages) Get a logger wrapper for a class, which logs at most a certain number of messages. | |
| getLogger | back to summary |
|---|---|
| public static JooqLogger getLogger(Class<?> clazz, String nameSuffix, int limitMessages) Get a logger wrapper for a class, which logs at most a certain number of messages. | |
| getMessage | back to summary |
|---|---|
| private String getMessage(Object message, Object details) Get a formatted message. | |
| globalThreshold | back to summary |
|---|---|
| public static void globalThreshold(JooqLogger. Deprecated as a consequence of Set a global level threshold to all JooqLoggers. | |
| globalThreshold | back to summary |
|---|---|
| public static void globalThreshold(Log. Set a global level threshold to all JooqLoggers. | |
| info | back to summary |
|---|---|
| public void info(Object message) Implements org. Log a message in | |
| info | back to summary |
|---|---|
| public void info(Object message, Object details) Implements org. Log a message in | |
| info | back to summary |
|---|---|
| public void info(Object message, Throwable throwable) Implements org. Log a message in | |
| info | back to summary |
|---|---|
| public void info(Object message, Object details, Throwable throwable) Implements org. Log a message in | |
| initSimpleFormatter | back to summary |
|---|---|
| public static void initSimpleFormatter() [#12405] The common | |
| isDebugEnabled | back to summary |
|---|---|
| public boolean isDebugEnabled() Implements org. Check if
| |
| isInfoEnabled | back to summary |
|---|---|
| public boolean isInfoEnabled() Implements org. Check if
| |
| isTraceEnabled | back to summary |
|---|---|
| public boolean isTraceEnabled() Implements org. Check if
| |
| isWarnEnabled | back to summary |
|---|---|
| public boolean isWarnEnabled() Implements org. Check if
| |
| log | back to summary |
|---|---|
| public void log(Log. Implements org. Log a message in a given log level. | |
| log | back to summary |
|---|---|
| public void log(Log. Implements org. Log a message in a given log level. | |
| log | back to summary |
|---|---|
| public void log(Log. Implements org. Log a message in a given log level. | |
| log | back to summary |
|---|---|
| public void log(Log. Implements org. Log a message in a given log level. | |
| trace | back to summary |
|---|---|
| public void trace(Object message) Implements org. Log a message in | |
| trace | back to summary |
|---|---|
| public void trace(Object message, Object details) Implements org. Log a message in | |
| trace | back to summary |
|---|---|
| public void trace(Object message, Throwable throwable) Implements org. Log a message in | |
| trace | back to summary |
|---|---|
| public void trace(Object message, Object details, Throwable throwable) Implements org. Log a message in | |
| warn | back to summary |
|---|---|
| public void warn(Object message) Implements org. Log a message in | |
| warn | back to summary |
|---|---|
| public void warn(Object message, Object details) Implements org. Log a message in | |
| warn | back to summary |
|---|---|
| public void warn(Object message, Throwable throwable) Implements org. Log a message in | |
| warn | back to summary |
|---|---|
| public void warn(Object message, Object details, Throwable throwable) Implements org. Log a message in | |
Deprecated
- Use org. instead
| Modifier and Type | Field and Description |
|---|---|
| public static final JooqLogger. | DEBUG
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| public static final JooqLogger. | ERROR
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| public static final JooqLogger. | FATAL
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| public static final JooqLogger. | INFO
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| public static final JooqLogger. | TRACE
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| public static final JooqLogger. | WARN
Deprecated
as a consequence of
JooqLogger.Level being deprecated.
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static JooqLogger. | |
| public static JooqLogger. |
| DEBUG | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| ERROR | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| FATAL | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| INFO | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| TRACE | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| WARN | back to summary |
|---|---|
| public static final JooqLogger. Deprecated as a consequence of | |
| Level | back to summary |
|---|---|
| private Level() | |
| supports | back to summary |
|---|---|
| public boolean supports(JooqLogger. Deprecated as a consequence of | |
| valueOf | back to summary |
|---|---|
| public static JooqLogger. Deprecated as a consequence of | |
| values | back to summary |
|---|---|
| public static JooqLogger. Deprecated as a consequence of | |