浏览代码

UI: Increase size of log buffer

Dumping config json from nlohmann requires more than 4096 bytes
Ruwen Hahn 1 年之前
父节点
当前提交
43a1b30994
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UI/obs-app.cpp

+ 1 - 1
UI/obs-app.cpp

@@ -386,7 +386,7 @@ static inline bool too_many_repeated_entries(fstream &logFile, const char *msg,
 static void do_log(int log_level, const char *msg, va_list args, void *param)
 static void do_log(int log_level, const char *msg, va_list args, void *param)
 {
 {
 	fstream &logFile = *static_cast<fstream *>(param);
 	fstream &logFile = *static_cast<fstream *>(param);
-	char str[4096];
+	char str[8192];
 
 
 #ifndef _WIN32
 #ifndef _WIN32
 	va_list args2;
 	va_list args2;