frostfs-node/pkg/services/object/acl/v2/opts.go

13 lines
213 B
Go
Raw Normal View History

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
}
}