Added platform architecture information to About dialog and CLogger::Out() method.

This commit is contained in:
2023-12-07 20:53:38 +03:00
parent f558df6bf9
commit b8ce96ee99
7 changed files with 22 additions and 46 deletions

View File

@@ -64,27 +64,6 @@ CLogger::CLogger(const wchar_t* _appTitle) {
Init();
}
CLogger::CLogger(const wchar_t* _appTitle, const wchar_t* _appVersion) {
szAppTitle = _appTitle; szAppVersion = _appVersion;
szAppTitleVer = _appTitle;
szAppTitleVer.append(L", v").append(_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;