| 150 | |
| 151 | #ifndef NDEBUG |
| 152 | static int rt_curl_debug_callback(CURL* handle, curl_infotype type, char* data, size_t size, void* userdata) |
| 153 | { |
| 154 | (void)handle; |
| 155 | (void)type; |
| 156 | (void)userdata; |
| 157 | std::string s(data, size); |
| 158 | logging::log_debug(LOG_TAG, "CURL DBG: %s", s.c_str()); |
| 159 | return 0; |
| 160 | } |
| 161 | #endif |
| 162 | |
| 163 | runtime::runtime(std::string const& endpoint) : runtime(endpoint, "AWS_Lambda_Cpp/" + std::string(get_version())) {} |
nothing calls this directly
no test coverage detected