Class JBossLoggingApacheLoggerBridge

  • All Implemented Interfaces:
    org.apache.commons.logging.Log

    public class JBossLoggingApacheLoggerBridge
    extends java.lang.Object
    implements org.apache.commons.logging.Log
    There is an issue on the Testsuite, as it's not possible to bring JBossLogging on the booting classLoader. As a result classes like BeanUtils will be using apache logging, which will not have the bootstrapping necessary. As a result BeanUtils is keeping showing log.debug into the test output and test console. This class will give an opportunity to the CI and our applications to use proper logging even on the testsuite.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void debug​(java.lang.Object message)  
      void debug​(java.lang.Object message, java.lang.Throwable t)  
      void error​(java.lang.Object message)  
      void error​(java.lang.Object message, java.lang.Throwable t)  
      void fatal​(java.lang.Object message)  
      void fatal​(java.lang.Object message, java.lang.Throwable t)  
      void info​(java.lang.Object message)  
      void info​(java.lang.Object message, java.lang.Throwable t)  
      boolean isDebugEnabled()  
      boolean isErrorEnabled()  
      boolean isFatalEnabled()  
      boolean isInfoEnabled()  
      boolean isTraceEnabled()  
      boolean isWarnEnabled()  
      void trace​(java.lang.Object message)  
      void trace​(java.lang.Object message, java.lang.Throwable t)  
      void warn​(java.lang.Object message)  
      void warn​(java.lang.Object message, java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JBossLoggingApacheLoggerBridge

        public JBossLoggingApacheLoggerBridge​(java.lang.Class clazz)
      • JBossLoggingApacheLoggerBridge

        public JBossLoggingApacheLoggerBridge​(java.lang.String name)
    • Method Detail

      • debug

        public void debug​(java.lang.Object message)
        Specified by:
        debug in interface org.apache.commons.logging.Log
      • debug

        public void debug​(java.lang.Object message,
                          java.lang.Throwable t)
        Specified by:
        debug in interface org.apache.commons.logging.Log
      • error

        public void error​(java.lang.Object message)
        Specified by:
        error in interface org.apache.commons.logging.Log
      • error

        public void error​(java.lang.Object message,
                          java.lang.Throwable t)
        Specified by:
        error in interface org.apache.commons.logging.Log
      • fatal

        public void fatal​(java.lang.Object message)
        Specified by:
        fatal in interface org.apache.commons.logging.Log
      • fatal

        public void fatal​(java.lang.Object message,
                          java.lang.Throwable t)
        Specified by:
        fatal in interface org.apache.commons.logging.Log
      • info

        public void info​(java.lang.Object message)
        Specified by:
        info in interface org.apache.commons.logging.Log
      • info

        public void info​(java.lang.Object message,
                         java.lang.Throwable t)
        Specified by:
        info in interface org.apache.commons.logging.Log
      • isDebugEnabled

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled in interface org.apache.commons.logging.Log
      • isErrorEnabled

        public boolean isErrorEnabled()
        Specified by:
        isErrorEnabled in interface org.apache.commons.logging.Log
      • isFatalEnabled

        public boolean isFatalEnabled()
        Specified by:
        isFatalEnabled in interface org.apache.commons.logging.Log
      • isInfoEnabled

        public boolean isInfoEnabled()
        Specified by:
        isInfoEnabled in interface org.apache.commons.logging.Log
      • isTraceEnabled

        public boolean isTraceEnabled()
        Specified by:
        isTraceEnabled in interface org.apache.commons.logging.Log
      • isWarnEnabled

        public boolean isWarnEnabled()
        Specified by:
        isWarnEnabled in interface org.apache.commons.logging.Log
      • trace

        public void trace​(java.lang.Object message)
        Specified by:
        trace in interface org.apache.commons.logging.Log
      • trace

        public void trace​(java.lang.Object message,
                          java.lang.Throwable t)
        Specified by:
        trace in interface org.apache.commons.logging.Log
      • warn

        public void warn​(java.lang.Object message)
        Specified by:
        warn in interface org.apache.commons.logging.Log
      • warn

        public void warn​(java.lang.Object message,
                         java.lang.Throwable t)
        Specified by:
        warn in interface org.apache.commons.logging.Log