Preparations for the release of the 64-bit version.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// wCenterWindow
|
||||
// CLogger.cpp
|
||||
#include "CLogger.h"
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
#include <strsafe.h>
|
||||
|
||||
@@ -70,6 +71,20 @@ CLogger::CLogger(const wchar_t* _appTitle, const wchar_t* _appVersion) {
|
||||
Init();
|
||||
}
|
||||
|
||||
CLogger::CLogger(const wchar_t* _appTitle, const uint8_t _appPlatform) {
|
||||
szAppTitle = _appTitle; szAppPlatform = std::to_wstring(_appPlatform);
|
||||
szAppTitleVer = _appTitle;
|
||||
szAppTitleVer.append(L" (x").append(szAppPlatform).append(L")");
|
||||
Init();
|
||||
}
|
||||
|
||||
CLogger::CLogger(const wchar_t* _appTitle, const wchar_t* _appVersion, const uint8_t _appPlatform) {
|
||||
szAppTitle = _appTitle; szAppVersion = _appVersion; szAppPlatform = std::to_wstring(_appPlatform);
|
||||
szAppTitleVer = _appTitle;
|
||||
szAppTitleVer.append(L", v").append(_appVersion).append(L" (x").append(szAppPlatform).append(L")");
|
||||
Init();
|
||||
}
|
||||
|
||||
CLogger::~CLogger() {
|
||||
if (fsLogFile) {
|
||||
fsLogFile << GetTimeStamp() << "Stop log." << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user