From ce25c3e55b4f7c3d83946c4d11d31136380078c7 Mon Sep 17 00:00:00 2001 From: zhangyifan27 Date: Wed, 3 Feb 2021 14:40:11 +0800 Subject: [PATCH] fix: fix log print --- src/utils/simple_logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/simple_logger.cpp b/src/utils/simple_logger.cpp index 9074b2ec2a..7c19526e4d 100644 --- a/src/utils/simple_logger.cpp +++ b/src/utils/simple_logger.cpp @@ -69,7 +69,7 @@ static void print_header(FILE *fp, dsn_log_level_t log_level) time_str, ts, tid, - log_prefixed_message_func()); + log_prefixed_message_func().c_str()); } screen_logger::screen_logger(bool short_header) : logging_provider("./")