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

Method logMatchSceneGroup

lib/legacy/switch-generic.cpp:44–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void SceneSwitcherEntry::logMatchSceneGroup()
45{
46 if (group->scenes.empty()) {
47 blog(LOG_INFO,
48 "match for '%s' - but no scenes specified in '%s'",
49 getType(), group->name.c_str());
50 return;
51 }
52
53 std::string sceneName = GetWeakSourceName(group->getCurrentScene());
54
55 blog(LOG_INFO, "match for '%s' - switch to scene '%s' using '%s'",
56 getType(), sceneName.c_str(), group->name.c_str());
57}
58
59void SceneSwitcherEntry::logMatch()
60{

Callers

nothing calls this directly

Calls 4

GetWeakSourceNameFunction · 0.85
getCurrentSceneMethod · 0.80
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected