- All Known Implementing Classes:
JooqLogger
public interface Log
A common logger abstraction API for jOOQ's internal logging.
- Author:
- Lukas Eder
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Log a message inLog.Level.DEBUG
level.void
Log a message inLog.Level.DEBUG
level.void
Log a message inLog.Level.DEBUG
level.void
Log a message inLog.Level.DEBUG
level.void
Log a message inLog.Level.ERROR
level.void
Log a message inLog.Level.ERROR
level.void
Log a message inLog.Level.ERROR
level.void
Log a message inLog.Level.ERROR
level.void
Log a message inLog.Level.INFO
level.void
Log a message inLog.Level.INFO
level.void
Log a message inLog.Level.INFO
level.void
Log a message inLog.Level.INFO
level.boolean
Check ifLog.Level.DEBUG
level logging is enabled.boolean
Check ifLog.Level.ERROR
level logging is enabled.boolean
Check ifLog.Level.INFO
level logging is enabled.boolean
Check ifLog.Level.TRACE
level logging is enabled.boolean
Check ifLog.Level.WARN
level logging is enabled.void
Log a message in a given log level.void
Log a message in a given log level.void
Log a message in a given log level.void
Log a message in a given log level.void
Log a message inLog.Level.TRACE
level.void
Log a message inLog.Level.TRACE
level.void
Log a message inLog.Level.TRACE
level.void
Log a message inLog.Level.TRACE
level.void
Log a message inLog.Level.WARN
level.void
Log a message inLog.Level.WARN
level.void
Log a message inLog.Level.WARN
level.void
Log a message inLog.Level.WARN
level.
-
Method Details
-
isTraceEnabled
boolean isTraceEnabled()Check ifLog.Level.TRACE
level logging is enabled. -
trace
Log a message inLog.Level.TRACE
level.- Parameters:
message
- The log message
-
trace
Log a message inLog.Level.TRACE
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
trace
Log a message inLog.Level.TRACE
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
trace
Log a message inLog.Level.TRACE
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-
isDebugEnabled
boolean isDebugEnabled()Check ifLog.Level.DEBUG
level logging is enabled. -
debug
Log a message inLog.Level.DEBUG
level.- Parameters:
message
- The log message
-
debug
Log a message inLog.Level.DEBUG
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
debug
Log a message inLog.Level.DEBUG
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
debug
Log a message inLog.Level.DEBUG
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-
isInfoEnabled
boolean isInfoEnabled()Check ifLog.Level.INFO
level logging is enabled. -
info
Log a message inLog.Level.INFO
level.- Parameters:
message
- The log message
-
info
Log a message inLog.Level.INFO
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
info
Log a message inLog.Level.INFO
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
info
Log a message inLog.Level.INFO
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-
isWarnEnabled
boolean isWarnEnabled()Check ifLog.Level.WARN
level logging is enabled. -
warn
Log a message inLog.Level.WARN
level.- Parameters:
message
- The log message
-
warn
Log a message inLog.Level.WARN
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
warn
Log a message inLog.Level.WARN
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
warn
Log a message inLog.Level.WARN
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-
isErrorEnabled
boolean isErrorEnabled()Check ifLog.Level.ERROR
level logging is enabled. -
error
Log a message inLog.Level.ERROR
level.- Parameters:
message
- The log message
-
error
Log a message inLog.Level.ERROR
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
error
Log a message inLog.Level.ERROR
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
error
Log a message inLog.Level.ERROR
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-
log
Log a message in a given log level.- Parameters:
level
- The log levelmessage
- The log message
-
log
Log a message in a given log level.- Parameters:
level
- The log levelmessage
- The log messagedetails
- The message details (padded to a constant-width message);
-
log
Log a message in a given log level.- Parameters:
level
- The log levelmessage
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
log
Log a message in a given log level.- Parameters:
level
- The log levelmessage
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the message
-