public class RemoteCallLoggerDelegate extends Object
RemoteCallReturn
objects.Modifier and Type | Class and Description |
---|---|
static class |
RemoteCallLoggerDelegate.RemoteCallType
Type of the request or response.
|
Constructor and Description |
---|
RemoteCallLoggerDelegate(org.slf4j.Logger summaryLogger,
org.slf4j.Logger detailLogger,
PrettyPrinterInterface prettyPrinter,
RemoteCallLoggerDelegate.RemoteCallType remoteCallType) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDetailsLoggable(boolean isSuccess)
Returns true if the log level for request details and the specified result is enabled.
|
boolean |
isSummaryLoggable(boolean isSuccess)
Returns true if the log level for request summaries and the specified result is enabled.
|
void |
logRequestDetails(RemoteCallReturn remoteCallReturn) |
void |
logRequestSummary(RemoteCallReturn remoteCallReturn) |
public RemoteCallLoggerDelegate(org.slf4j.Logger summaryLogger, org.slf4j.Logger detailLogger, @Nullable PrettyPrinterInterface prettyPrinter, RemoteCallLoggerDelegate.RemoteCallType remoteCallType)
public boolean isSummaryLoggable(boolean isSuccess)
public boolean isDetailsLoggable(boolean isSuccess)
public void logRequestDetails(RemoteCallReturn remoteCallReturn)
public void logRequestSummary(RemoteCallReturn remoteCallReturn)
Copyright © 2018. All Rights Reserved.