Log: set locale for data output

pull/277/head
SChernykh 2023-09-17 19:30:39 +02:00
parent 10978c59e4
commit 8619057224
1 changed files with 3 additions and 0 deletions

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);