1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

changed default max log size to 512kb

This commit is contained in:
Bryan Roe
2022-01-06 19:09:37 -08:00
parent 1f82c971ba
commit 2274477316

View File

@@ -1595,7 +1595,7 @@ int ILibIsRunningOnChainThread(void* chain);
char* ILib_POSIX_InstallCrashHandler(char *exename); char* ILib_POSIX_InstallCrashHandler(char *exename);
#endif #endif
#define ILIBCRITICALLOG_DEFAULT_MAXSIZE 8388608 #define ILIBCRITICALLOG_DEFAULT_MAXSIZE 524288
extern uint64_t ILibCriticalLog_MaxSize; extern uint64_t ILibCriticalLog_MaxSize;
#define ILIBCRITICALEXITMSG(code, msg) {printf("%s", ILibCriticalLog(msg, __FILE__, __LINE__, 0, 0)); exit(code);} #define ILIBCRITICALEXITMSG(code, msg) {printf("%s", ILibCriticalLog(msg, __FILE__, __LINE__, 0, 0)); exit(code);}
#define ILIBLOGMESSSAGE(msg) ILibCriticalLog(msg, __FILE__, __LINE__, 0, 0) #define ILIBLOGMESSSAGE(msg) ILibCriticalLog(msg, __FILE__, __LINE__, 0, 0)