Package org.jooq
Interface Log
-
- All Known Implementing Classes:
JooqLogger
public interface Log
A common logger abstraction API for jOOQ's internal logging.- Author:
- Lukas Eder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Log.Level
The log level.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
debug(java.lang.Object message)
Log a message inDEBUG
level.void
debug(java.lang.Object message, java.lang.Object details)
Log a message inDEBUG
level.void
debug(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inDEBUG
level.void
debug(java.lang.Object message, java.lang.Throwable throwable)
Log a message inDEBUG
level.void
error(java.lang.Object message)
Log a message inERROR
level.void
error(java.lang.Object message, java.lang.Object details)
Log a message inERROR
level.void
error(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inERROR
level.void
error(java.lang.Object message, java.lang.Throwable throwable)
Log a message inERROR
level.void
info(java.lang.Object message)
Log a message inINFO
level.void
info(java.lang.Object message, java.lang.Object details)
Log a message inINFO
level.void
info(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inINFO
level.void
info(java.lang.Object message, java.lang.Throwable throwable)
Log a message inINFO
level.boolean
isDebugEnabled()
Check ifDEBUG
level logging is enabled.boolean
isInfoEnabled()
Check ifINFO
level logging is enabled.boolean
isTraceEnabled()
Check ifTRACE
level logging is enabled.void
trace(java.lang.Object message)
Log a message inTRACE
level.void
trace(java.lang.Object message, java.lang.Object details)
Log a message inTRACE
level.void
trace(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inTRACE
level.void
trace(java.lang.Object message, java.lang.Throwable throwable)
Log a message inTRACE
level.void
warn(java.lang.Object message)
Log a message inWARN
level.void
warn(java.lang.Object message, java.lang.Object details)
Log a message inWARN
level.void
warn(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inWARN
level.void
warn(java.lang.Object message, java.lang.Throwable throwable)
Log a message inWARN
level.
-
-
-
Method Detail
-
isTraceEnabled
boolean isTraceEnabled()
Check ifTRACE
level logging is enabled.
-
trace
void trace(java.lang.Object message)
Log a message inTRACE
level.- Parameters:
message
- The log message
-
trace
void trace(java.lang.Object message, java.lang.Object details)
Log a message inTRACE
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
trace
void trace(java.lang.Object message, java.lang.Throwable throwable)
Log a message inTRACE
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
trace
void trace(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inTRACE
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 ifDEBUG
level logging is enabled.
-
debug
void debug(java.lang.Object message)
Log a message inDEBUG
level.- Parameters:
message
- The log message
-
debug
void debug(java.lang.Object message, java.lang.Object details)
Log a message inDEBUG
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
debug
void debug(java.lang.Object message, java.lang.Throwable throwable)
Log a message inDEBUG
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
debug
void debug(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inDEBUG
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 ifINFO
level logging is enabled.
-
info
void info(java.lang.Object message)
Log a message inINFO
level.- Parameters:
message
- The log message
-
info
void info(java.lang.Object message, java.lang.Object details)
Log a message inINFO
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
info
void info(java.lang.Object message, java.lang.Throwable throwable)
Log a message inINFO
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
info
void info(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inINFO
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
-
warn
void warn(java.lang.Object message)
Log a message inWARN
level.- Parameters:
message
- The log message
-
warn
void warn(java.lang.Object message, java.lang.Object details)
Log a message inWARN
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
warn
void warn(java.lang.Object message, java.lang.Throwable throwable)
Log a message inWARN
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
warn
void warn(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inWARN
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
-
error
void error(java.lang.Object message)
Log a message inERROR
level.- Parameters:
message
- The log message
-
error
void error(java.lang.Object message, java.lang.Object details)
Log a message inERROR
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
error
void error(java.lang.Object message, java.lang.Throwable throwable)
Log a message inERROR
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
error
void error(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
Log a message inERROR
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
-
-