Log: set locale for data output

This commit is contained in:
SChernykh 2023-09-17 19:30:39 +02:00
parent 10978c59e4
commit 8619057224

View file

@ -22,6 +22,7 @@
#include <fstream>
#include <thread>
#include <stdlib.h>
#include <clocale>
#ifdef _MSC_VER
#pragma warning(disable : 4996)
@ -63,6 +64,8 @@ public:
{
set_main_thread();
std::setlocale(LC_ALL, "en_001");
m_logFile.open(log_file_name, std::ios::app | std::ios::binary);
m_buf.resize(BUF_SIZE);