base
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
||||
class CTransLogger
|
||||
{
|
||||
public:
|
||||
CTransLogger();
|
||||
~CTransLogger();
|
||||
|
||||
// Operations
|
||||
public:
|
||||
static bool Create(LPCTSTR lpszPathName, bool bOverwrite = true);
|
||||
static bool Close();
|
||||
static bool Flush();
|
||||
|
||||
static DWORD Write(LPCTSTR lpszFormat, ...);
|
||||
|
||||
// Data Members
|
||||
private:
|
||||
static HANDLE m_hFile;
|
||||
};
|
||||
Reference in New Issue
Block a user