| 1098 | } |
| 1099 | |
| 1100 | std::string DateTime::getDateTime(const char* format, const base::SubsecondPrecision* ssPrec) { |
| 1101 | struct timeval currTime; |
| 1102 | gettimeofday(&currTime); |
| 1103 | return timevalToString(currTime, format, ssPrec); |
| 1104 | } |
| 1105 | |
| 1106 | std::string DateTime::timevalToString(struct timeval tval, const char* format, |
| 1107 | const el::base::SubsecondPrecision* ssPrec) { |
nothing calls this directly
no outgoing calls
no test coverage detected