⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logtrace.h

📁 Also since the domain name--against which the retrieved domain name is to be matched--is currently h
💻 H
字号:


#pragma once 

#include "stdafx.h"

// This class is exported from the LogTrace.dll
class CLogTrace {
public:
	CLogTrace(void);
	// TODO: add your methods here.
	~CLogTrace(void);

	//Log Simple Text
	BOOL LOG_DBG(LPCTSTR log);

	//Log Text with a specific String
	BOOL LOG_DBG(LPCTSTR log, LPCTSTR str);

	//Log text with error code
	BOOL LOG_ERR(LPCTSTR log, DWORD errCode);

	//Format input string to write
	BOOL Format(LPCTSTR log, LPCTSTR str);

	//Format with error code
	BOOL Format(LPCTSTR log, DWORD errCode);

	//Set File Name
	BOOL SetFileName(LPCTSTR fName);

	//Initialize Logging
	BOOL Init();

	//WriteLog
	BOOL WriteLog();

	//GetDate Time
	BOOL GetDateTime(LPTSTR lpDateTime);


private:
	LPTSTR Log;
	LPTSTR fName;
	FILE  *logFP;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -