启动函数,回家函数判断,正在调试 读取ACS , EF3, DLL版本号,遗留日志删除功能
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user