Merge branch 'rc-v3.0.2' into rc-v3.1.0

This commit is contained in:
Lion Kortlepel
2022-04-28 14:40:37 +02:00
15 changed files with 79 additions and 23 deletions

View File

@@ -20,6 +20,7 @@ public:
void WriteRaw(const std::string& str);
void InitializeLuaConsole(TLuaEngine& Engine);
void BackupOldLog();
void StartLoggingToFile();
Commandline& Internal() { return mCommandline; }
private:
@@ -60,4 +61,6 @@ private:
bool mFirstTime { true };
std::string mStateId;
const std::string mDefaultStateId = "BEAMMP_SERVER_CONSOLE";
std::ofstream mLogFileStream;
std::mutex mLogFileStreamMtx;
};