Package org.apache.activemq.artemis.logs
Class JBossLoggingApacheLoggerBridge
- java.lang.Object
-
- org.apache.activemq.artemis.logs.JBossLoggingApacheLoggerBridge
-
- All Implemented Interfaces:
org.apache.commons.logging.Log
public class JBossLoggingApacheLoggerBridge extends java.lang.Object implements org.apache.commons.logging.LogThere 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.
-
-
Constructor Summary
Constructors Constructor Description JBossLoggingApacheLoggerBridge(java.lang.Class clazz)JBossLoggingApacheLoggerBridge(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.Object message)voiddebug(java.lang.Object message, java.lang.Throwable t)voiderror(java.lang.Object message)voiderror(java.lang.Object message, java.lang.Throwable t)voidfatal(java.lang.Object message)voidfatal(java.lang.Object message, java.lang.Throwable t)voidinfo(java.lang.Object message)voidinfo(java.lang.Object message, java.lang.Throwable t)booleanisDebugEnabled()booleanisErrorEnabled()booleanisFatalEnabled()booleanisInfoEnabled()booleanisTraceEnabled()booleanisWarnEnabled()voidtrace(java.lang.Object message)voidtrace(java.lang.Object message, java.lang.Throwable t)voidwarn(java.lang.Object message)voidwarn(java.lang.Object message, java.lang.Throwable t)
-
-
-
Method Detail
-
debug
public void debug(java.lang.Object message)
- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
debug
public void debug(java.lang.Object message, java.lang.Throwable t)- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
error
public void error(java.lang.Object message)
- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
error
public void error(java.lang.Object message, java.lang.Throwable t)- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
fatal
public void fatal(java.lang.Object message)
- Specified by:
fatalin interfaceorg.apache.commons.logging.Log
-
fatal
public void fatal(java.lang.Object message, java.lang.Throwable t)- Specified by:
fatalin interfaceorg.apache.commons.logging.Log
-
info
public void info(java.lang.Object message)
- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
info
public void info(java.lang.Object message, java.lang.Throwable t)- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.apache.commons.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.apache.commons.logging.Log
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabledin interfaceorg.apache.commons.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.apache.commons.logging.Log
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabledin interfaceorg.apache.commons.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.apache.commons.logging.Log
-
trace
public void trace(java.lang.Object message)
- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
trace
public void trace(java.lang.Object message, java.lang.Throwable t)- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
warn
public void warn(java.lang.Object message)
- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
warn
public void warn(java.lang.Object message, java.lang.Throwable t)- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
-