Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions AampConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,13 +726,12 @@ class ConfigLookup
if(cJSON_IsTrue(searchObj))
{
aampConfig->SetConfigValue(owner,cfgEnum,true);
AAMPLOG_MIL("Parsed value for property %s - true",keyname.c_str());
}
else
{
aampConfig->SetConfigValue(owner,cfgEnum,false);
AAMPLOG_MIL("Parsed value for property %s - false",keyname.c_str());
}
AAMPLOG_MIL("Parsed value for property %s - %s",keyname.c_str(), aampConfig->GetConfigValue(cfgEnum) ? "true" : "false");
}
else
{
Expand All @@ -745,7 +744,7 @@ class ConfigLookup
auto cfgEnum = cfg.configEnum;
std::string keyname = it->first;
aampConfig->SetConfigValue(owner,cfgEnum,conv);
AAMPLOG_MIL("Parsed value for property %s - %d",keyname.c_str(),conv);
AAMPLOG_MIL("Parsed value for property %s - %d",keyname.c_str(), aampConfig->GetConfigValue(cfgEnum));
}
else
{
Expand All @@ -758,7 +757,7 @@ class ConfigLookup
auto cfgEnum = cfg.configEnum;
std::string keyname = it->first;
aampConfig->SetConfigValue(owner,cfgEnum,conv);
AAMPLOG_MIL("Parsed value for property %s - %f",keyname.c_str(),conv);
AAMPLOG_MIL("Parsed value for property %s - %f",keyname.c_str(), aampConfig->GetConfigValue(cfgEnum));
}
else
{
Expand All @@ -771,7 +770,7 @@ class ConfigLookup
auto cfgEnum = cfg.configEnum;
std::string keyname = it->first;
aampConfig->SetConfigValue(owner,cfgEnum,conv);
AAMPLOG_MIL("Parsed value for property %s - %s",keyname.c_str(),conv.c_str() );
AAMPLOG_MIL("Parsed value for property %s - %s",keyname.c_str(), aampConfig->GetConfigValue(cfgEnum).c_str());
}
}
}
Expand Down
Loading