📄 filelog.h
字号:
#pragma once
#pragma warning(disable:4786)
#include "log.h"
#include "../include/exception.h"
#include <fstream>
#include <string>
using namespace std;
namespace Utility{
class CFileLog:public CImplementLog
{
public:
CFileLog(const char* fileName = "log.txt") throw (CException);
~CFileLog();
int WriteData(const char* szMsg);
void DeleteOneLine();
private:
// HANDLE m_hFile;
ofstream m_file;
string m_logFile;
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -