wwbmmm commented on code in PR #2247:
URL: https://github.com/apache/brpc/pull/2247#discussion_r1193257135
##########
src/butil/logging.cc:
##########
@@ -507,12 +510,19 @@ void PrintLogPrefix(
}
os << ' ' << hostname;
}
- os << ' ' << file << ':' << line << "] ";
+ os << ' ' << file << ':' << line << " " << func << "] ";
Review Comment:
如果func是"",这里会比原来多输出一个空格
##########
src/butil/logging.cc:
##########
@@ -563,7 +573,7 @@ static void PrintLogPrefixAsJSON(
}
os << "\"host\":\"" << hostname << "\",";
}
- os << "\"C\":\"" << file << ':' << line << "\"";
+ os << "\"C\":\"" << file << ':' << line << " " << func << "\"";
Review Comment:
同上
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]