From fd18bdea7156e99b0eb37e4317ee843faedf667b Mon Sep 17 00:00:00 2001 From: "beiling.xie" Date: Fri, 25 Mar 2022 22:03:23 +0800 Subject: [PATCH] Add "\n" for all print Signed-off-by: beiling.xie --- dsoftbus/depend/hilog/include/hilog/log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dsoftbus/depend/hilog/include/hilog/log.h b/dsoftbus/depend/hilog/include/hilog/log.h index 47118811..76b005bc 100644 --- a/dsoftbus/depend/hilog/include/hilog/log.h +++ b/dsoftbus/depend/hilog/include/hilog/log.h @@ -3,9 +3,9 @@ #include -#define HILOG_DEBUG(type, fmt, ...) printf(fmt, ##__VA_ARGS__) -#define HILOG_INFO(type, fmt, ...) printf(fmt, ##__VA_ARGS__) -#define HILOG_WARN(type, fmt, ...) printf(fmt, ##__VA_ARGS__) -#define HILOG_ERROR(type, fmt, ...) printf(fmt, ##__VA_ARGS__) +#define HILOG_DEBUG(type, fmt, ...) printf(fmt"\n", ##__VA_ARGS__) +#define HILOG_INFO(type, fmt, ...) printf(fmt"\n", ##__VA_ARGS__) +#define HILOG_WARN(type, fmt, ...) printf(fmt"\n", ##__VA_ARGS__) +#define HILOG_ERROR(type, fmt, ...) printf(fmt"\n", ##__VA_ARGS__) #endif -- Gitee