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

Method logMatchScene

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

Source from the content-addressed store, hash-verified

32}
33
34void SceneSwitcherEntry::logMatchScene()
35{
36 std::string sceneName = previous_scene_name;
37 if (!usePreviousScene) {
38 sceneName = GetWeakSourceName(scene);
39 }
40 blog(LOG_INFO, "match for '%s' - switch to scene '%s'", getType(),
41 sceneName.c_str());
42}
43
44void SceneSwitcherEntry::logMatchSceneGroup()
45{

Callers

nothing calls this directly

Calls 2

GetWeakSourceNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected