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

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-23 14:19:49 +03:00 committed by Alex Vanin
parent ea36789b51
commit e1e5a590e9
2 changed files with 14 additions and 1 deletions

View file

@ -339,6 +339,7 @@ func initObjectService(c *cfg) {
deletesvc.WithLinkingHeader(
headsvc.NewRelationHeader(searchsvc.NewLinkingSearcher(sSearch), sHead),
),
deletesvc.WithLogger(c.log),
)
sDeleteV2 := deletesvcV2.NewService(