Explorar el Código

修复日志输出的缓存大小:由原来1024改为1024*10;

Jeff hace 5 años
padre
commit
8efdabed24
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      log4cproj_c/Log4C/log4c/buffer.h

+ 2 - 2
log4cproj_c/Log4C/log4c/buffer.h

@@ -37,9 +37,9 @@ typedef struct
 
 } log4c_buffer_t;
 
-#define LOG4C_BUFFER_SIZE_DEFAULT  1024
+#define LOG4C_BUFFER_SIZE_DEFAULT  1024*10
 
-#define LOG4C_BUFFER_SIZE_MAX 1024*10
+#define LOG4C_BUFFER_SIZE_MAX 1024*20
 
 __LOG4C_END_DECLS