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 in DEBUG level.
      void debug​(java.lang.Object message, java.lang.Object details)
      Log a message in DEBUG level.
      void debug​(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
      Log a message in DEBUG level.
      void debug​(java.lang.Object message, java.lang.Throwable throwable)
      Log a message in DEBUG level.
      void error​(java.lang.Object message)
      Log a message in ERROR level.
      void error​(java.lang.Object message, java.lang.Object details)
      Log a message in ERROR level.
      void error​(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
      Log a message in ERROR level.
      void error​(java.lang.Object message, java.lang.Throwable throwable)
      Log a message in ERROR level.
      void info​(java.lang.Object message)
      Log a message in INFO level.
      void info​(java.lang.Object message, java.lang.Object details)
      Log a message in INFO level.
      void info​(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
      Log a message in INFO level.
      void info​(java.lang.Object message, java.lang.Throwable throwable)
      Log a message in INFO level.
      boolean isDebugEnabled()
      Check if DEBUG level logging is enabled.
      boolean isInfoEnabled()
      Check if INFO level logging is enabled.
      boolean isTraceEnabled()
      Check if TRACE level logging is enabled.
      void trace​(java.lang.Object message)
      Log a message in TRACE level.
      void trace​(java.lang.Object message, java.lang.Object details)
      Log a message in TRACE level.
      void trace​(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
      Log a message in TRACE level.
      void trace​(java.lang.Object message, java.lang.Throwable throwable)
      Log a message in TRACE level.
      void warn​(java.lang.Object message)
      Log a message in WARN level.
      void warn​(java.lang.Object message, java.lang.Object details)
      Log a message in WARN level.
      void warn​(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
      Log a message in WARN level.
      void warn​(java.lang.Object message, java.lang.Throwable throwable)
      Log a message in WARN level.
    • Method Detail

      • isTraceEnabled

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

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

        void trace​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.Object details,
                   java.lang.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​(java.lang.Object message)
        Log a message in DEBUG level.
        Parameters:
        message - The log message
      • debug

        void debug​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.Object details,
                   java.lang.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​(java.lang.Object message)
        Log a message in INFO level.
        Parameters:
        message - The log message
      • info

        void info​(java.lang.Object message,
                  java.lang.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​(java.lang.Object message,
                  java.lang.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​(java.lang.Object message,
                  java.lang.Object details,
                  java.lang.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​(java.lang.Object message)
        Log a message in WARN level.
        Parameters:
        message - The log message
      • warn

        void warn​(java.lang.Object message,
                  java.lang.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​(java.lang.Object message,
                  java.lang.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​(java.lang.Object message,
                  java.lang.Object details,
                  java.lang.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​(java.lang.Object message)
        Log a message in ERROR level.
        Parameters:
        message - The log message
      • error

        void error​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.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​(java.lang.Object message,
                   java.lang.Object details,
                   java.lang.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