Class 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 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