Package de.codecentric.cxf.logging
Class BaseLogger
- java.lang.Object
-
- de.codecentric.cxf.logging.BaseLogger
-
public class BaseLogger extends java.lang.Object
-
-
Method Summary
Modifier and Type Method Description voiderrorOccuredInBackendProcessing(java.lang.Throwable cause)<T> voidfacadeModeReturningDummyResponseWithResponseType(java.lang.Class<T> responseType)voidfailedToBuildServiceCompliantSoapFaultDetails(java.lang.Throwable cause)static <L> BaseLoggergetLogger(java.lang.Class<L> class2LogFor)voidlogCallTime(java.lang.String calltime)voidlogHttpHeader(java.lang.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(java.lang.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(java.lang.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, java.lang.String faultMessage)voidsuccessfullyCalledServeEndpointWithMethod(java.lang.String calledServiceMethod)
-
-
-
Method Detail
-
getLogger
public static <L> BaseLogger getLogger(java.lang.Class<L> class2LogFor)
-
logInboundSoapMessage
public void logInboundSoapMessage(java.lang.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(java.lang.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(java.lang.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(java.lang.String calledServiceMethod)
-
logCallTime
public void logCallTime(java.lang.String calltime)
-
facadeModeReturningDummyResponseWithResponseType
public <T> void facadeModeReturningDummyResponseWithResponseType(java.lang.Class<T> responseType)
-
errorOccuredInBackendProcessing
public void errorOccuredInBackendProcessing(java.lang.Throwable cause)
-
failedToBuildServiceCompliantSoapFaultDetails
public void failedToBuildServiceCompliantSoapFaultDetails(java.lang.Throwable cause)
-
schemaValidationError
public void schemaValidationError(FaultType error, java.lang.String faultMessage)
-
-