mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 19:58:49 -05:00
Add log level which prints performed actions
This commit is contained in:
@@ -134,8 +134,11 @@ void ActionQueue::RunActions()
|
||||
continue;
|
||||
}
|
||||
|
||||
vblog(LOG_INFO, "Performing action '%s' in queue '%s'",
|
||||
action->GetId().c_str(), _name.c_str());
|
||||
if (ActionLoggingEnabled()) {
|
||||
blog(LOG_INFO, "Performing action '%s' in queue '%s'",
|
||||
action->GetId().c_str(), _name.c_str());
|
||||
action->LogAction();
|
||||
}
|
||||
action->PerformAction();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user