[#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 52s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m25s
Build / Build Components (pull_request) Successful in 1m45s
Tests and linters / Run gofumpt (pull_request) Successful in 2m52s
Tests and linters / Lint (pull_request) Successful in 3m33s
Tests and linters / Staticcheck (pull_request) Successful in 3m30s
Tests and linters / gopls check (pull_request) Successful in 3m37s
Tests and linters / Tests with -race (pull_request) Successful in 3m47s
Tests and linters / Tests (pull_request) Successful in 3m56s
All checks were successful
DCO action / DCO (pull_request) Successful in 42s
Vulncheck / Vulncheck (pull_request) Successful in 52s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m25s
Build / Build Components (pull_request) Successful in 1m45s
Tests and linters / Run gofumpt (pull_request) Successful in 2m52s
Tests and linters / Lint (pull_request) Successful in 3m33s
Tests and linters / Staticcheck (pull_request) Successful in 3m30s
Tests and linters / gopls check (pull_request) Successful in 3m37s
Tests and linters / Tests with -race (pull_request) Successful in 3m47s
Tests and linters / Tests (pull_request) Successful in 3m56s
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
b0bf4643d0
commit
cb1792c69b
19 changed files with 63 additions and 20 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue