* add go-grpc_opt and go_opt for grpc new command * feat: remove log when disable log Co-authored-by: zhouyy <zhouyy@ickey.cn>
@@ -61,8 +61,6 @@ func logDuration(ctx context.Context, method string, req interface{}, duration t
if ok {
if duration > slowThreshold.Load() {
logger.Slowf("[RPC] slowcall - %s - %s", addr, method)
- } else {
- logger.Infof("%s - %s", addr, method)
}
} else {
content, err := json.Marshal(req)