projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix debug panic in onion utils on large custom TLVs or metadata.
[rust-lightning]
/
fuzz
/
src
/
utils
/
test_logger.rs
diff --git
a/fuzz/src/utils/test_logger.rs
b/fuzz/src/utils/test_logger.rs
index 5046869c0a9abe1c92a0ee57d86a3f489081d760..5e5817e23f1f92d18f5d83406db2cff23319491d 100644
(file)
--- a/
fuzz/src/utils/test_logger.rs
+++ b/
fuzz/src/utils/test_logger.rs
@@
-56,9
+56,9
@@
impl<'a, Out: Output> Write for LockedWriteAdapter<'a, Out> {
}
impl<Out: Output> Logger for TestLogger<Out> {
}
impl<Out: Output> Logger for TestLogger<Out> {
- fn log(&self, record:
&
Record) {
+ fn log(&self, record: Record) {
write!(LockedWriteAdapter(&self.out),
write!(LockedWriteAdapter(&self.out),
- "{:<5} {} [{} : {}
, {}] {}\n", record.level.to_string(), self.id, record.module_path, record.file
, record.line, record.args)
+ "{:<5} {} [{} : {}
] {}\n", record.level.to_string(), self.id, record.module_path
, record.line, record.args)
.unwrap();
}
}
.unwrap();
}
}