refactor: simplify zrpc stat config (#3107)

This commit is contained in:
Kevin Wan
2023-04-08 22:45:05 +08:00
committed by GitHub
parent e13fd62d38
commit 98c9b5928a
6 changed files with 36 additions and 35 deletions

View File

@@ -100,7 +100,7 @@ func (rs *RpcServer) Stop() {
}
// DontLogContentForMethod disable logging content for given method.
// Deprecated: use ServerMiddlewaresConf.NotLoggingContentMethods instead.
// Deprecated: use ServerMiddlewaresConf.IgnoreContentMethods instead.
func DontLogContentForMethod(method string) {
serverinterceptors.DontLogContentForMethod(method)
}