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 Detail

      • isTraceEnabled

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

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

        void trace​(Object message,
                   Object details)
        Log a message in 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 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 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 DEBUG level logging is enabled.
      • debug

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

        void debug​(Object message,
                   Object details)
        Log a message in 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 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 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 INFO level logging is enabled.
      • info

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

        void info​(Object message,
                  Object details)
        Log a message in 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 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 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
      • warn

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

        void warn​(Object message,
                  Object details)
        Log a message in 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 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 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
      • error

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

        void error​(Object message,
                   Object details)
        Log a message in 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 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 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