bool CWakeupEngineManager::on_wakeup_engine_command(string engine_name, mas_wakeup_engine_command_target_e target, string assistant_name, string command)
{
- MWR_LOGD("[ENTER]");
+ MWR_LOGI("[ENTER] : %s %d %s %s",
+ engine_name.c_str(), target, assistant_name.c_str(), command.c_str());
for (const auto& observer : mObservers) {
if (observer) {
for (const auto& assistant : iter->assistant_list) {
if (0 == assistant_name.compare(assistant) ||
MAS_WAKEUP_ENGINE_COMMAND_TARGET_ALL_ASSISTANTS == target) {
+ MWR_LOGI("Calling on_wakeup_engine_command for %s", assistant.c_str());
if (!observer->on_wakeup_engine_command(target, engine_name, assistant, command)) {
LOGE("[Recorder WARNING] One of the observer returned false");
}