Commit d85758b
Replace fmt with proper logging in blocks (#570)
Summary:
Pull Request resolved: #570
This change improves logging consistency by replacing direct `fmt.Printf` and `fmt.Println` calls with the structured logging package throughout the blocks package. Additionally updated testutils to not print to the screen.
This ensures all logging output uses the proper logging infrastructure (`logging.L().Errorf()` and `logging.L().Infof()`) which provides better log formatting, filtering, and consistency across the application.
Reviewed By: RoboticPrism
Differential Revision: D85156300
fbshipit-source-id: 7ac8e679c2600a9079dd8b7ee84fe7e0d208e84e1 parent 7ab3580 commit d85758b
File tree
4 files changed
+3
-5
lines changed- pkg
- blocks
- testutils
4 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments