package v2

import (
	"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger"
)

// WithLogger returns option to set logger.
func WithLogger(v *logger.Logger) Option {
	return func(c *cfg) {
		c.log = v
	}
}