Resolve variables in log messages

This commit is contained in:
WarmUpTill
2022-12-27 14:48:40 +01:00
committed by WarmUpTill
parent 7ae490ca25
commit d04884fe8b
7 changed files with 17 additions and 16 deletions

View File

@@ -125,11 +125,11 @@ void MacroActionSwitchScene::LogAction() const
switch (t) {
case SceneSelection::Type::SCENE:
vblog(LOG_INFO, "switch to scene '%s'",
_scene.ToString().c_str());
_scene.ToString(true).c_str());
break;
case SceneSelection::Type::GROUP:
vblog(LOG_INFO, "switch to scene '%s' (scene group '%s')",
sceneName.c_str(), _scene.ToString().c_str());
sceneName.c_str(), _scene.ToString(true).c_str());
break;
case SceneSelection::Type::PREVIOUS:
vblog(LOG_INFO, "switch to previous scene '%s'",