[#1619] logger: Set tags for node components
All checks were successful
DCO action / DCO (pull_request) Successful in 42s
Vulncheck / Vulncheck (pull_request) Successful in 54s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m28s
Build / Build Components (pull_request) Successful in 1m35s
Tests and linters / Run gofumpt (pull_request) Successful in 1m33s
Tests and linters / Staticcheck (pull_request) Successful in 2m4s
Tests and linters / Lint (pull_request) Successful in 2m49s
Tests and linters / Tests (pull_request) Successful in 3m46s
Tests and linters / gopls check (pull_request) Successful in 4m28s
Tests and linters / Tests with -race (pull_request) Successful in 4m34s

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2025-01-29 15:39:28 +03:00
parent c7f12c17e6
commit f94a8625fa
19 changed files with 63 additions and 20 deletions

View file

@ -45,7 +45,7 @@ func New(opts ...Option) *Replicator {
opts[i](c)
}
c.log = c.log.With(zap.String("component", "Object Replicator"))
c.log = c.log.With(zap.String("component", "Object Replicator")).WithTag(logger.TagReplicator)
return &Replicator{
cfg: c,