Added Buffer->Controller logging capabilities.

This commit is contained in:
Thulinma 2014-01-08 01:40:26 +01:00
parent ce5b99774d
commit d625e68c5f
4 changed files with 23 additions and 5 deletions

View file

@ -488,6 +488,11 @@ int main(int argc, char ** argv){
}
}
}
if (Request.isMember("ctrl_log") && Request["ctrl_log"].size() > 0){
for (JSON::ArrIter it = Request["ctrl_log"].ArrBegin(); it != Request["ctrl_log"].ArrEnd(); it++){
Controller::Log((*it)[0u], (*it)[1u]);
}
}
}
}
}