Interface LogAdapter

  • All Known Implementing Classes:
    ConsoleLogAdapter, Slf4jLogAdapter

    public interface LogAdapter
    The command line tool needs to be enabled to only log to STDOUT or STDERR. Due to some limitations within the onejar bootstraping, we have to provide our own LogAdapter to be used within the "library" of the jmxconfiggenerator implementations. Otherwise we would see log output on STDOUT/STDERR when using the cli tool.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String message, java.lang.Object... args)  
      void error​(java.lang.String message, java.lang.Object... args)  
      default java.lang.String format​(java.lang.String message, java.lang.Object... args)  
      void info​(java.io.InputStream inputStream)  
      void info​(java.lang.String message, java.lang.Object... args)  
      boolean isDebugEnabled()  
      void warn​(java.lang.String warnMessage, java.lang.Object... args)  
    • Method Detail

      • warn

        void warn​(java.lang.String warnMessage,
                  java.lang.Object... args)
      • error

        void error​(java.lang.String message,
                   java.lang.Object... args)
      • debug

        void debug​(java.lang.String message,
                   java.lang.Object... args)
      • info

        void info​(java.lang.String message,
                  java.lang.Object... args)
      • info

        void info​(java.io.InputStream inputStream)
      • isDebugEnabled

        boolean isDebugEnabled()
      • format

        default java.lang.String format​(java.lang.String message,
                                        java.lang.Object... args)