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

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

View file

@ -328,6 +328,7 @@ func initObjectService(c *cfg) {
rangehashsvc.WithHeadService(sHead),
rangehashsvc.WithRangeService(sRange),
rangehashsvc.WithWorkerPool(c.cfgObject.pool.rngHash),
rangehashsvc.WithLogger(c.log),
)
sRangeHashV2 := rangehashsvcV2.NewService(