启动函数,回家函数判断,正在调试 读取ACS , EF3, DLL版本号,遗留日志删除功能

This commit is contained in:
zhengxuan.zhang
2022-10-14 16:44:52 +08:00
parent ec5f857abb
commit 7861cdf511
11 changed files with 73 additions and 45 deletions
+20
View File
@@ -2,6 +2,10 @@
#include "logger.h"
#include <atltime.h>
#include <sys/timeb.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
void CLogger::SendAtTime(const TCHAR* buffer)
{
@@ -115,3 +119,19 @@ void CLogger::SendAndFlushPerMode(LPCTSTR format, ...)
}
LeaveCriticalSection(&m_lockLogger);
}
//void Getfilepath(const char* path, const char* filename, char* filepath)
//{
// strcpy(filepath, path);
// if (filepath[strlen(path) - 1] != '/')
// strcat(filepath, "/");
// strcat(filepath, filename);
// printf("path is = %s\n", filepath);
//}
//ɾ³ýµ±Ç°Ä¿Â¼ÏÂtxtÎļþ
void CLogger::DeleteOldFile()
{
}