浏览代码

doc(api): use Debugf when formatting log msg

Mustafa Arici 8 年之前
父节点
当前提交
792577e4f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/interceptor.go

+ 1 - 1
api/interceptor.go

@@ -102,7 +102,7 @@ func AuthUnaryInterceptor(ctx gcontext.Context, req interface{}, info *grpc.Unar
 		case "/pb.NetworkService/Dissociate":
 			return authRequired(ctx, req, handler)
 		default:
-			logrus.Debugln("rpc: auth is not required for this endpoint: '%s'", info.FullMethod)
+			logrus.Debugf("rpc: auth not required for endpoint: '%s'", info.FullMethod)
 		}
 	}
 	return handler(ctx, req)