Commit e5057f5
committed
Have the mock log facade not always print to
In #463 we introduced a mock logger that implements the `log` facade in
tests. Previously, it defaulted to always print `TRACE`-level logs to
`stdout`. This however can be very spammy (especially since it includes
TRACE-level logs of `electrum_client` now).
Here, we make printing the log lines optional by `cfg`-gating it.stdout
1 parent 5abb42f commit e5057f5
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments