From 4892aa7927086988e96918293272693a65d049b7 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期四, 16 七月 2020 18:31:03 +0800 Subject: [PATCH] update --- 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