?? logtrace.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;
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -