Package de.codecentric.cxf.logging
Class BaseLogger
- java.lang.Object
-
- de.codecentric.cxf.logging.BaseLogger
-
public class BaseLogger extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderrorOccuredInBackendProcessing(Throwable cause)<T> voidfacadeModeReturningDummyResponseWithResponseType(Class<T> responseType)voidfailedToBuildServiceCompliantSoapFaultDetails(Throwable cause)static <L> BaseLoggergetLogger(Class<L> class2LogFor)voidlogCallTime(String calltime)voidlogHttpHeader(String headers)Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.HTTP_HEADER_INBOUNDyou can find in your Elasticsearch, when processed via logstash.voidlogInboundSoapMessage(String inboundSoapMessage)Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.SOAP_MESSAGE_INBOUNDyou can find in your Elasticsearch, when processed via logstash.voidlogOutboundSoapMessage(String outboundSoapMessage)Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.SOAP_MESSAGE_OUTBOUNDyou can find in your Elasticsearch, when processed via logstash.voidschemaValidationError(FaultType error, String faultMessage)voidsuccessfullyCalledServeEndpointWithMethod(String calledServiceMethod)
-
-
-
Method Detail
-
getLogger
public static <L> BaseLogger getLogger(Class<L> class2LogFor)
-
logInboundSoapMessage
public void logInboundSoapMessage(String inboundSoapMessage)
Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.SOAP_MESSAGE_INBOUNDyou can find in your Elasticsearch, when processed via logstash.- Parameters:
inboundSoapMessage- the inbound SOAP message to log
-
logOutboundSoapMessage
public void logOutboundSoapMessage(String outboundSoapMessage)
Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.SOAP_MESSAGE_OUTBOUNDyou can find in your Elasticsearch, when processed via logstash.- Parameters:
outboundSoapMessage- the outbound SOAP message to log
-
logHttpHeader
public void logHttpHeader(String headers)
Puts the String it into the Slf4j MDC (Mapped Diagnostic Context, see http://logback.qos.ch/manual/mdc.html} for more details) with the KeyElasticsearchField.HTTP_HEADER_INBOUNDyou can find in your Elasticsearch, when processed via logstash.- Parameters:
headers- the HTTP headers to log
-
successfullyCalledServeEndpointWithMethod
public void successfullyCalledServeEndpointWithMethod(String calledServiceMethod)
-
logCallTime
public void logCallTime(String calltime)
-
facadeModeReturningDummyResponseWithResponseType
public <T> void facadeModeReturningDummyResponseWithResponseType(Class<T> responseType)
-
errorOccuredInBackendProcessing
public void errorOccuredInBackendProcessing(Throwable cause)
-
failedToBuildServiceCompliantSoapFaultDetails
public void failedToBuildServiceCompliantSoapFaultDetails(Throwable cause)
-
-