// Code generated by sdkgen. DO NOT EDIT.

package logging

import (
	"context"

	"google.golang.org/grpc"
)

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

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

// LogIngestion gets LogIngestionService client
func (l *LogIngestion) LogIngestion() *LogIngestionServiceClient {
	return &LogIngestionServiceClient{getConn: l.getConn}
}
