Skip to content

Commit c5a014f

Browse files
committed
Have the mock log facade not always print to stdout
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 simply disable printing to `stdout`
1 parent 5abb42f commit c5a014f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/common/logging.rs

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ impl LogFacadeLog for MockLogFacadeLogger {
4848
record.line().unwrap(),
4949
record.args()
5050
);
51-
println!("{message}");
5251
self.logs.lock().unwrap().push(message);
5352
}
5453

0 commit comments

Comments
 (0)