]> git.bitcoin.ninja Git - rust-lightning/commit
Make test log lines somewhat more eye-scannable 2023-10-scanable-test-logs
authorMatt Corallo <git@bluematt.me>
Thu, 12 Oct 2023 21:15:49 +0000 (21:15 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 15 Oct 2023 20:04:35 +0000 (20:04 +0000)
commitab2117796dc8702c1572b703ebd69c51d2926d0b
tree3fc6b21e6c645515948b6c4dad357042d246dfba
parent2c51080449d647339b3a1ef80e386e8cc7b59fae
Make test log lines somewhat more eye-scannable

When running tests, our log output should be reasonably readable
by developers, but currently it repeats the module twice (via the
module and file name), and then starts the log line at a variable
location.

Instead, we only print the module and then align the start of the
log lines so that the output is much more scannable.
lightning/src/util/test_utils.rs