Commit f3d9dce
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 9c02f23 commit f3d9dce
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
| 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