MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / LogAction

Method LogAction

plugins/http/macro-action-http.cpp:214–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void MacroActionHttp::LogAction() const
215{
216 ablog(LOG_INFO,
217 "sent HTTP request (%s) "
218 "to URL \"%s\" "
219 "with content type \"%s\" "
220 "with body \"%s\" "
221 "with headers \"%s\" "
222 "with parameters \"%s\" "
223 "with timeout \"%s\"",
224 methodToString(_method).data(), _url.c_str(),
225 _contentType.c_str(), _body.c_str(),
226 _setHeaders ? stringListToString(_headers).c_str() : "-",
227 _setParams ? stringListToString(_params).c_str() : "-",
228 _timeout.ToString().c_str());
229}
230
231bool MacroActionHttp::Save(obs_data_t *obj) const
232{

Callers

nothing calls this directly

Calls 5

stringListToStringFunction · 0.85
methodToStringFunction · 0.70
dataMethod · 0.45
c_strMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected