Package org.serviceconnector.log
Class MessageLogger
java.lang.Object
org.serviceconnector.log.MessageLogger
The Class MessageLogger.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if is log enabled.static voidlogInputMessage(SCMPHeaderKey headlineKey, SCMPMessage message) produce the log for an input message.static voidlogOutputMessage(SCMPHeaderKey headlineKey, SCMPMessage message) produce the log for an output message.
-
Method Details
-
logInputMessage
produce the log for an input message.- Parameters:
headlineKey- the headline keymessage- the message
-
logOutputMessage
produce the log for an output message.- Parameters:
headlineKey- the headline keymessage- the message
-
isEnabled
public static boolean isEnabled()Checks if is log enabled.- Returns:
- true, if is enabled
-