[#1619] logger: Set tags for node
components
All checks were successful
DCO action / DCO (pull_request) Successful in 47s
Vulncheck / Vulncheck (pull_request) Successful in 1m5s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m34s
Build / Build Components (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m46s
Tests and linters / Run gofumpt (pull_request) Successful in 2m49s
Tests and linters / Tests (pull_request) Successful in 3m47s
Tests and linters / gopls check (pull_request) Successful in 3m57s
Tests and linters / Tests with -race (pull_request) Successful in 4m45s
Tests and linters / Lint (pull_request) Successful in 2m56s
All checks were successful
DCO action / DCO (pull_request) Successful in 47s
Vulncheck / Vulncheck (pull_request) Successful in 1m5s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m34s
Build / Build Components (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m46s
Tests and linters / Run gofumpt (pull_request) Successful in 2m49s
Tests and linters / Tests (pull_request) Successful in 3m47s
Tests and linters / gopls check (pull_request) Successful in 3m57s
Tests and linters / Tests with -race (pull_request) Successful in 4m45s
Tests and linters / Lint (pull_request) Successful in 2m56s
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
e4a57b37e6
commit
5bf54e18ab
19 changed files with 63 additions and 20 deletions
|
@ -92,6 +92,6 @@ func New(gs *getsvc.Service,
|
|||
// WithLogger returns option to specify Delete service's logger.
|
||||
func WithLogger(l *logger.Logger) Option {
|
||||
return func(c *cfg) {
|
||||
c.log = l.With(zap.String("component", "objectSDK.Delete service"))
|
||||
c.log = l.With(zap.String("component", "objectSDK.Delete service")).WithTag(logger.TagDeleteSvc)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue