From 0fd19aa1c8a2bf543099d6b1077ff19078f9074e Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 24 十二月 2020 11:35:12 +0800
Subject: [PATCH] Merge branch 'dev'
---
include/usgcommon/logger.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/include/usgcommon/logger.h b/include/usgcommon/logger.h
index a735086..cf0d2ba 100644
--- a/include/usgcommon/logger.h
+++ b/include/usgcommon/logger.h
@@ -17,7 +17,7 @@
FILE *logFile;
void dolog(const char *fmt, va_list ap, int level, int err = 0) {
- char buf[MAXBUF];
+ char buf[MAXLINE];
struct timeval tv;
struct tm *info;
@@ -42,6 +42,8 @@
fflush(NULL); /* flushes all stdio output streams */
}
+
+
void init();
private:
--
Gitblit v1.8.0