#include <sys/time.h>
#include <time.h>
/**
* @brief: 打印当前时间
* @return {*}
* @note:
*/
string Application::GetCurentTime()
{
char mark_time[128] = {0};
time_t tp;
struct tm tm;
time(&tp);
localtime_r(&tp, &tm);
strftime(mark_time, 128, "%Y-%m-%d %H:%M:%S", &tm);
_LOG_DEBUG("%s",mark_time);
string time = mark_time;
return time;
}