[#195] object/range: Add option to set logger

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-23 14:23:58 +03:00 committed by Alex Vanin
parent cf2dc37a42
commit af6484e3b1
2 changed files with 12 additions and 0 deletions

View file

@ -303,6 +303,7 @@ func initObjectService(c *cfg) {
rangesvc.WithLocalAddressSource(c),
rangesvc.WithWorkerPool(c.cfgObject.pool.rng),
rangesvc.WithHeadService(sHead),
rangesvc.WithLogger(c.log),
)
sRangeV2 := rangesvcV2.NewService(