Class ConsoleLogAdapter

  • All Implemented Interfaces:
    LogAdapter

    public class ConsoleLogAdapter
    extends java.lang.Object
    implements LogAdapter
    The STDOUT/STERR implementation of the .
    • Method Summary

      All Methods Instance Methods Concrete 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)  
      java.io.OutputStream getErrorOutputStream()  
      java.io.OutputStream getOutputStream()  
      void info​(java.io.InputStream inputStream)  
      void info​(java.lang.String message, java.lang.Object... args)  
      boolean isDebugEnabled()  
      void setDebug​(boolean debug)  
      void warn​(java.lang.String warnMessage, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.opennms.features.jmxconfiggenerator.log.LogAdapter

        format
    • Constructor Detail

      • ConsoleLogAdapter

        public ConsoleLogAdapter()
    • Method Detail

      • warn

        public void warn​(java.lang.String warnMessage,
                         java.lang.Object... args)
        Specified by:
        warn in interface LogAdapter
      • error

        public void error​(java.lang.String message,
                          java.lang.Object... args)
        Specified by:
        error in interface LogAdapter
      • debug

        public void debug​(java.lang.String message,
                          java.lang.Object... args)
        Specified by:
        debug in interface LogAdapter
      • info

        public void info​(java.lang.String message,
                         java.lang.Object... args)
        Specified by:
        info in interface LogAdapter
      • info

        public void info​(java.io.InputStream inputStream)
        Specified by:
        info in interface LogAdapter
      • getErrorOutputStream

        public java.io.OutputStream getErrorOutputStream()
      • setDebug

        public void setDebug​(boolean debug)
      • getOutputStream

        public java.io.OutputStream getOutputStream()