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