// Code generated by sdkgen. DO NOT EDIT. // nolint package logging import ( "context" "google.golang.org/grpc" logging "github.com/yandex-cloud/go-genproto/yandex/cloud/logging/v1" ) //revive:disable // LogReadingServiceClient is a logging.LogReadingServiceClient with // lazy GRPC connection initialization. type LogReadingServiceClient struct { getConn func(ctx context.Context) (*grpc.ClientConn, error) } // Read implements logging.LogReadingServiceClient func (c *LogReadingServiceClient) Read(ctx context.Context, in *logging.ReadRequest, opts ...grpc.CallOption) (*logging.ReadResponse, error) { conn, err := c.getConn(ctx) if err != nil { return nil, err } return logging.NewLogReadingServiceClient(conn).Read(ctx, in, opts...) }