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

@@ -77,7 +77,7 @@ void MacroActionSudioMode::LogAction() const
auto it = actionTypes.find(_action);
if (it != actionTypes.end()) {
vblog(LOG_INFO, "performed action \"%s\" with scene \"%s\"",
it->second.c_str(), _scene.ToString().c_str());
it->second.c_str(), _scene.ToString(true).c_str());
} else {
blog(LOG_WARNING, "ignored unknown studio mode action %d",
static_cast<int>(_action));