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,