aboutsummaryrefslogtreecommitdiffstats
path: root/library/go/yandex/solomon/reporters/puller/httppuller/logger.go
blob: 19fe4bf733cfc3c632600ec947259d91ab0e971d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package httppuller

import "github.com/ydb-platform/ydb/library/go/core/log"

type loggerOption struct {
	logger log.Logger
}

func (*loggerOption) isOption() {}

func WithLogger(logger log.Logger) Option {
	return &loggerOption{
		logger: logger,
	}
}