Files
interactive/application/sp-console3/Common/TransLogger.h
T
2026-08-07 17:38:18 +09:00

25 lines
397 B
C++

#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;
};