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

Method LogAction

plugins/base/macro-action-source.cpp:312–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void MacroActionSource::LogAction() const
313{
314 auto it = actionTypes.find(_action);
315 if (it != actionTypes.end()) {
316 ablog(LOG_INFO, "performed action \"%s\" for Source \"%s\"",
317 it->second.c_str(), _source.ToString(true).c_str());
318 } else {
319 blog(LOG_WARNING, "ignored unknown source action %d",
320 static_cast<int>(_action));
321 }
322}
323
324bool MacroActionSource::Save(obs_data_t *obj) const
325{

Callers

nothing calls this directly

Calls 4

findMethod · 0.80
endMethod · 0.45
c_strMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected