public class AccessLogger extends Object
| Constructor and Description |
|---|
AccessLogger(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
logInterfaceAnswer(String interfaceName,
RequestChannels interfaceChannel,
Object receivedPayload,
Long responseTimeMillis,
String responseStatus,
String responseLabel)
Used to log a response received as a client
|
void |
logInterfaceCall(String interfaceName,
RequestChannels interfaceChannel,
Object sentPayload)
Used to log a request sent as a client
|
void |
logRequest(String transactionType,
Object requestPayload)
Used to log a request received as a backend
|
void |
logResponse(String transactionType,
Object responsePayload,
Long responseTimeMillis,
String responseStatus,
String responseLabel)
Used to log a response sent as a backend
|
public AccessLogger(Serializer serializer)
public void logRequest(String transactionType, Object requestPayload)
public void logResponse(String transactionType, Object responsePayload, Long responseTimeMillis, String responseStatus, String responseLabel)
public void logInterfaceCall(String interfaceName, RequestChannels interfaceChannel, Object sentPayload)
Copyright © 2020. All rights reserved.