Class CorrelationMDCAwareLogger
java.lang.Object
org.apache.synapse.commons.logger.CorrelationMDCAwareLogger
- All Implemented Interfaces:
org.apache.commons.logging.Log
- Direct Known Subclasses:
CorrelationMDCImmediateLogger
Responsible for providing wrapper implementation for apache.commons.logging.Log interface. The logging wrapper
methods will put the correlation id to the MDC prior to the logging.
-
Constructor Summary
ConstructorsConstructorDescriptionCorrelationMDCAwareLogger(String correlationId, org.apache.commons.logging.Log log) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoid
-
Constructor Details
-
CorrelationMDCAwareLogger
-
-
Method Details
-
trace
- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
trace
- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
debug
- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
debug
- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
info
- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
info
- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
warn
- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
warn
- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
error
- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
error
- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
fatal
- Specified by:
fatalin interfaceorg.apache.commons.logging.Log
-
fatal
- Specified by:
fatalin 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
-