This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
commit 6b83e0f5dc2a187a1f111ee426778dfe26516acd Author: jamesge <[email protected]> AuthorDate: Thu Nov 26 14:14:10 2020 +0800 polish comments on LOG* --- src/brpc/controller.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/brpc/controller.h b/src/brpc/controller.h index fc39e52..89250a7 100755 --- a/src/brpc/controller.h +++ b/src/brpc/controller.h @@ -810,7 +810,8 @@ std::ostream& operator<<(std::ostream& os, const Controller::LogPostfixDummy& p) } // namespace brpc -// Print contextual logs +// Print logs appended with @rid which is got from "x-request-id"(set +// -request_id_header to change) in http header by default #define LOGD(cntl) LOG(DEBUG) << (cntl)->LogPostfix() #define LOGI(cntl) LOG(INFO) << (cntl)->LogPostfix() #define LOGW(cntl) LOG(WARNING) << (cntl)->LogPostfix() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
