andrewm@0: /* andrewm@0: * logger.h andrewm@0: * andrewm@0: * Created on: Aug 6, 2014 andrewm@0: * Author: Victor Zappi and Andrew McPherson andrewm@0: */ andrewm@0: andrewm@0: #ifndef LOGGER_H_ andrewm@0: #define LOGGER_H_ andrewm@0: andrewm@0: #include <string.h> andrewm@0: #include <pthread.h> andrewm@0: #include <stdio.h> andrewm@303: #include <unistd.h> andrewm@0: #include <fstream> // file handle andrewm@0: #include <iostream> // stringstream andrewm@0: #include <sstream> // stringstream andrewm@0: #include <glob.h> // alternative to dirent.h to handle files in dirs andrewm@0: #include <iomanip> // setfill andrewm@0: #include <sys/time.h> // elapsed time andrewm@0: andrewm@0: #include "config.h" andrewm@0: #include "prio.h" andrewm@0: andrewm@0: using namespace std; andrewm@0: andrewm@0: int initLogLoop(); andrewm@0: void *logLoop(void *); andrewm@0: andrewm@0: andrewm@0: #endif /* LOGGER_H_ */