ylflog.h
来自「移动」· C头文件 代码 · 共 36 行
H
36 行
// ylfLog.h: interface for the ylfLog class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_YLFLOG_H__F79D886D_C8D6_4413_87FB_3693F8109049__INCLUDED_)
#define AFX_YLFLOG_H__F79D886D_C8D6_4413_87FB_3693F8109049__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class ylfLog
{
public:
static CString strPath;
static int nSaveDay;
static char TBuf[2000];
static CTime ctime;
static CTime NextDeleteFileTime;
public:
static void AddBinText(BYTE *buf, int len);
static void DelFileHandle();
static void OnTimer();
static void AddLine(CString str);
static void AddLine(LPCTSTR ctstr);
static void AddLog(LPCTSTR lpszFormat, ...);
static bool ReadConfig();
static bool SetLogPath(const char* filename);
ylfLog();
virtual ~ylfLog();
};
#endif // !defined(AFX_YLFLOG_H__F79D886D_C8D6_4413_87FB_3693F8109049__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?