[Fix] (MG_Util/Debug/Log): more log scratch space to avoid truncation

This commit is contained in:
2025-11-12 22:50:21 +08:00
parent 6e65942891
commit e6c5e132b8
+1 -1
View File
@@ -72,7 +72,7 @@ namespace MobileGL {
std::string header =
"[" + GetCurrentTime() + "] [" + GetOSName() + " " + GetThreadName() + "/" + levelTag + "]: ";
char buffer[1024];
static char buffer[102400];
va_list args;
va_start(args, fmt);
int n = std::vsnprintf(buffer, sizeof(buffer), fmt, args);