Replace zaptest.NewLogger() with zap.L() #621

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:fix-logger into master 2023-08-17 16:51:11 +00:00

1 commit

Author SHA1 Message Date
64660afd2e [#609] Replace zaptest.NewLogger() with zap.L()
All checks were successful
DCO action / DCO (pull_request) Successful in 2m18s
Vulncheck / Vulncheck (pull_request) Successful in 2m40s
Build / Build Components (1.20) (pull_request) Successful in 3m25s
Build / Build Components (1.21) (pull_request) Successful in 3m20s
Tests and linters / Staticcheck (pull_request) Successful in 3m44s
Tests and linters / Tests (1.20) (pull_request) Successful in 5m5s
Tests and linters / Tests with -race (pull_request) Successful in 5m12s
Tests and linters / Tests (1.21) (pull_request) Successful in 16m31s
Tests and linters / Lint (pull_request) Successful in 20m15s
Semantic patch:
```
@@
@@
-import "go.uber.org/zap/zaptest"
+import "go.uber.org/zap"

-zaptest.NewLogger(t)
+zap.L()
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-17 15:49:24 +03:00