From 9e418158e309ce5d02bdf296f3bed2c5d533eee0 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期四, 09 七月 2020 20:11:42 +0800 Subject: [PATCH] udpate --- include/usgcommon/logger.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/usgcommon/logger.h b/include/usgcommon/logger.h index 00bc7de..4afb855 100644 --- a/include/usgcommon/logger.h +++ b/include/usgcommon/logger.h @@ -14,7 +14,7 @@ vsnprintf(buf, MAXBUF-1, fmt, ap); strcat(buf, "\n"); fflush(stdout); /* in case stdout and stderr are the same */ - fputs(buf, stderr); + fputs(buf, stdout); fflush(NULL); /* flushes all stdio output streams */ } public: -- Gitblit v1.8.0