-
- 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(Object message)
Log a message inDEBUG
level.void
debug(Object message, Object details)
Log a message inDEBUG
level.void
debug(Object message, Object details, Throwable throwable)
Log a message inDEBUG
level.void
debug(Object message, Throwable throwable)
Log a message inDEBUG
level.void
error(Object message)
Log a message inERROR
level.void
error(Object message, Object details)
Log a message inERROR
level.void
error(Object message, Object details, Throwable throwable)
Log a message inERROR
level.void
error(Object message, Throwable throwable)
Log a message inERROR
level.void
info(Object message)
Log a message inINFO
level.void
info(Object message, Object details)
Log a message inINFO
level.void
info(Object message, Object details, Throwable throwable)
Log a message inINFO
level.void
info(Object message, 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(Object message)
Log a message inTRACE
level.void
trace(Object message, Object details)
Log a message inTRACE
level.void
trace(Object message, Object details, Throwable throwable)
Log a message inTRACE
level.void
trace(Object message, Throwable throwable)
Log a message inTRACE
level.void
warn(Object message)
Log a message inWARN
level.void
warn(Object message, Object details)
Log a message inWARN
level.void
warn(Object message, Object details, Throwable throwable)
Log a message inWARN
level.void
warn(Object message, Throwable throwable)
Log a message inWARN
level.
-
-
-
Method Detail
-
isTraceEnabled
boolean isTraceEnabled()
Check ifTRACE
level logging is enabled.
-
trace
void trace(Object message)
Log a message inTRACE
level.- Parameters:
message
- The log message
-
trace
void trace(Object message, Object details)
Log a message inTRACE
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
trace
void trace(Object message, 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(Object message, Object details, 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(Object message)
Log a message inDEBUG
level.- Parameters:
message
- The log message
-
debug
void debug(Object message, Object details)
Log a message inDEBUG
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
debug
void debug(Object message, 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(Object message, Object details, 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(Object message)
Log a message inINFO
level.- Parameters:
message
- The log message
-
info
void info(Object message, Object details)
Log a message inINFO
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
info
void info(Object message, 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(Object message, Object details, 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(Object message)
Log a message inWARN
level.- Parameters:
message
- The log message
-
warn
void warn(Object message, Object details)
Log a message inWARN
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
warn
void warn(Object message, 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(Object message, Object details, 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(Object message)
Log a message inERROR
level.- Parameters:
message
- The log message
-
error
void error(Object message, Object details)
Log a message inERROR
level.- Parameters:
message
- The log messagedetails
- The message details (padded to a constant-width message);
-
error
void error(Object message, Throwable throwable)
Log a message inERROR
level.- Parameters:
message
- The log messagethrowable
- An exception whose stacktrace is logged along with the message
-
-