Skip to content

Commit 5bae991

Browse files
committed
Align log levels
1 parent 707a1a6 commit 5bae991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ impl TestLogger {
16991699
impl Logger for TestLogger {
17001700
fn log(&self, record: Record) {
17011701
let context =
1702-
format!("{} {} [{}:{}]", self.id, record.level, record.module_path, record.line);
1702+
format!("{} {:<5} [{}:{}]", self.id, record.level, record.module_path, record.line);
17031703
let chan_id = record.channel_id.map(|id| format!("{}", id));
17041704
let chan_str = chan_id.as_deref().and_then(|s| s.get(..6)).unwrap_or("");
17051705
let s = format!("{:<55} {:<6} {}", context, chan_str, record.args);

0 commit comments

Comments
 (0)