1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-21 12:06:49 +02:00

logger now supports unicode file paths

This commit is contained in:
Zyx-2000 2016-01-26 22:42:15 +01:00
parent c385c8757b
commit 92dd194c97

@ -12,6 +12,7 @@
#pragma once #pragma once
#include "../CConsoleHandler.h" #include "../CConsoleHandler.h"
#include "../filesystem/FileStream.h"
class CLogger; class CLogger;
struct LogRecord; struct LogRecord;
@ -302,7 +303,7 @@ public:
void write(const LogRecord & record) override; void write(const LogRecord & record) override;
private: private:
boost::filesystem::ofstream file; FileStream file;
CLogFormatter formatter; CLogFormatter formatter;
mutable boost::mutex mx; mutable boost::mutex mx;
}; };