mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
[Fix] (MG_Util/Debug/Log): more log scratch space to avoid truncation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user