From b1406ef2f8e06700c55f163e0f0491eefd8db5e2 Mon Sep 17 00:00:00 2001 From: haytv Date: Wed, 16 Nov 2022 09:48:59 +0700 Subject: [PATCH] Update doc.go --- logging/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/doc.go b/logging/doc.go index d8fcea081..12e3abccc 100644 --- a/logging/doc.go +++ b/logging/doc.go @@ -7,7 +7,7 @@ General functionality of all middleware The gRPC logging middleware populates request-scoped data to `grpc_ctxtags.Tags` that relate to the current gRPC call (e.g. service and method names). -Once the gRPC logging middleware has added the gRPC specific Tags to the ctx they will then be written with the logs +Once the gRPC logging middleware has added the gRPC specific Tags to the ctx (the tags intercepter must be set up) they will then be written with the logs that are made using the `ctx_logrus` or `ctx_zap` loggers. All logging middleware will emit a final log statement. It is based on the error returned by the handler function,