[#195] object/head: Add option to set logger
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e1e5a590e9
commit
9fbfc0b5e4
2 changed files with 12 additions and 0 deletions
|
@ -286,6 +286,7 @@ func initObjectService(c *cfg) {
|
|||
headsvc.WithLocalAddressSource(c),
|
||||
headsvc.WithRightChildSearcher(searchsvc.NewRightChildSearcher(sSearch)),
|
||||
headsvc.WithWorkerPool(c.cfgObject.pool.head),
|
||||
headsvc.WithLogger(c.log),
|
||||
)
|
||||
|
||||
sHeadV2 := headsvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue