Writes audit log in parallel mode

First version still missing the index among other things
This commit is contained in:
Felipe Zimmerle
2015-07-10 15:23:15 -03:00
parent 693238b235
commit c9620ac50f
13 changed files with 164 additions and 30 deletions

View File

@@ -33,8 +33,8 @@ std::string AuditLogWriter::file_name(const std::string& unique_id) {
* Temporary print the log into the std::cout to debug purposes.
*
*/
bool AuditLogWriter::write(const std::string& log) {
std::cout << log << std::endl;
bool AuditLogWriter::write(Assay *assay) {
std::cout << assay->to_json(0) << std::endl;
return true;
}