// Code generated by sdkgen. DO NOT EDIT.

package logging

import (
	"context"

	"google.golang.org/grpc"
)

// LogReading provides access to "logging" component of Yandex.Cloud
type LogReading struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewLogReading creates instance of LogReading
func NewLogReading(g func(ctx context.Context) (*grpc.ClientConn, error)) *LogReading {
	return &LogReading{g}
}

// LogReading gets LogReadingService client
func (l *LogReading) LogReading() *LogReadingServiceClient {
	return &LogReadingServiceClient{getConn: l.getConn}
}
