public class AccessLogger extends Object
| Constructor and Description |
|---|
AccessLogger(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
logInterfaceAnswer(String interfaceName,
RequestChannels interfaceChannel,
Object receivedBody,
Long responseTimeMillis,
String responseStatus,
String responseLabel)
Used to log a response received as a client
|
void |
logInterfaceCall(String interfaceName,
RequestChannels interfaceChannel,
Object sentBody)
Used to log a request sent as a client
|
void |
logRequest(String transactionType,
Object requestBody)
Used to log a request received as a backend
|
void |
logResponse(String transactionType,
Object responseBody,
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 requestBody)
public void logResponse(String transactionType, Object responseBody, Long responseTimeMillis, String responseStatus, String responseLabel)
public void logInterfaceCall(String interfaceName, RequestChannels interfaceChannel, Object sentBody)
Copyright © 2021. All rights reserved.