Module org.jooq
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
  • Method Details

    • isTraceEnabled

      boolean isTraceEnabled()
      Check if Log.Level.TRACE level logging is enabled.
    • trace

      void trace(Object message)
      Log a message in Log.Level.TRACE level.
      Parameters:
      message - The log message
    • trace

      void trace(Object message, Object details)
      Log a message in Log.Level.TRACE level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
    • trace

      void trace(Object message, Throwable throwable)
      Log a message in Log.Level.TRACE level.
      Parameters:
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • trace

      void trace(Object message, Object details, Throwable throwable)
      Log a message in Log.Level.TRACE level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message
    • isDebugEnabled

      boolean isDebugEnabled()
      Check if Log.Level.DEBUG level logging is enabled.
    • debug

      void debug(Object message)
      Log a message in Log.Level.DEBUG level.
      Parameters:
      message - The log message
    • debug

      void debug(Object message, Object details)
      Log a message in Log.Level.DEBUG level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
    • debug

      void debug(Object message, Throwable throwable)
      Log a message in Log.Level.DEBUG level.
      Parameters:
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • debug

      void debug(Object message, Object details, Throwable throwable)
      Log a message in Log.Level.DEBUG level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message
    • isInfoEnabled

      boolean isInfoEnabled()
      Check if Log.Level.INFO level logging is enabled.
    • info

      void info(Object message)
      Log a message in Log.Level.INFO level.
      Parameters:
      message - The log message
    • info

      void info(Object message, Object details)
      Log a message in Log.Level.INFO level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
    • info

      void info(Object message, Throwable throwable)
      Log a message in Log.Level.INFO level.
      Parameters:
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • info

      void info(Object message, Object details, Throwable throwable)
      Log a message in Log.Level.INFO level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message
    • isWarnEnabled

      boolean isWarnEnabled()
      Check if Log.Level.WARN level logging is enabled.
    • warn

      void warn(Object message)
      Log a message in Log.Level.WARN level.
      Parameters:
      message - The log message
    • warn

      void warn(Object message, Object details)
      Log a message in Log.Level.WARN level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
    • warn

      void warn(Object message, Throwable throwable)
      Log a message in Log.Level.WARN level.
      Parameters:
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • warn

      void warn(Object message, Object details, Throwable throwable)
      Log a message in Log.Level.WARN level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message
    • isErrorEnabled

      boolean isErrorEnabled()
      Check if Log.Level.ERROR level logging is enabled.
    • error

      void error(Object message)
      Log a message in Log.Level.ERROR level.
      Parameters:
      message - The log message
    • error

      void error(Object message, Object details)
      Log a message in Log.Level.ERROR level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
    • error

      void error(Object message, Throwable throwable)
      Log a message in Log.Level.ERROR level.
      Parameters:
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • error

      void error(Object message, Object details, Throwable throwable)
      Log a message in Log.Level.ERROR level.
      Parameters:
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message
    • log

      void log(Log.Level level, Object message)
      Log a message in a given log level.
      Parameters:
      level - The log level
      message - The log message
    • log

      void log(Log.Level level, Object message, Object details)
      Log a message in a given log level.
      Parameters:
      level - The log level
      message - The log message
      details - The message details (padded to a constant-width message);
    • log

      void log(Log.Level level, Object message, Throwable throwable)
      Log a message in a given log level.
      Parameters:
      level - The log level
      message - The log message
      throwable - An exception whose stacktrace is logged along with the message
    • log

      void log(Log.Level level, Object message, Object details, Throwable throwable)
      Log a message in a given log level.
      Parameters:
      level - The log level
      message - The log message
      details - The message details (padded to a constant-width message);
      throwable - An exception whose stacktrace is logged along with the message