Package software.amazon.awssdk.core
Class SdkStandardLogger
- java.lang.Object
-
- software.amazon.awssdk.core.SdkStandardLogger
-
public final class SdkStandardLogger extends Object
A centralized set of loggers that used across the SDK to log particular types of events. SDK users can then specifically enable just these loggers to get the type of that they want instead of having to enable all logging.
-
-
Field Summary
Fields Modifier and Type Field Description static Logger
REQUEST_ID_LOGGER
Logger used for the purpose of logging the request id extracted either from the http response header or from the response body.static Logger
REQUEST_LOGGER
Logger providing detailed information on requests/responses.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
logRequestId(SdkHttpResponse response)
Log the response status code and request ID
-
-
-
Field Detail
-
REQUEST_LOGGER
public static final Logger REQUEST_LOGGER
Logger providing detailed information on requests/responses. Users can enable this logger to get access to AWS request IDs for responses, individual requests and parameters sent to AWS, etc.
-
REQUEST_ID_LOGGER
public static final Logger REQUEST_ID_LOGGER
Logger used for the purpose of logging the request id extracted either from the http response header or from the response body.
-
-
Method Detail
-
logRequestId
public static void logRequestId(SdkHttpResponse response)
Log the response status code and request ID
-
-