5 LogResult::LogResult() {
8 LogResult::~LogResult() {
11 std::string LogResult::MakeString(enum ClientType cltype, enum CommandType cotype, std::string property) {
13 std::stringstream sstr;
14 sstr << tv.tv_sec << "." << std::setfill('0') << std::setw(6) << std::right << tv.tv_usec << " ";
36 case CMDTYPE_CALLBACK:
44 sstr << property << " ";
48 void LogResult::CurrentTime() {
49 gettimeofday(&tv, NULL);