projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1799 from TheBlueMatt/2022-10-heap-nerdsnipe
[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..f8c96f99bd1c8ddb9c1f9b28d8d7b5fbe67cc27b 100644
(file)
--- a/
fuzz/src/utils/test_logger.rs
+++ b/
fuzz/src/utils/test_logger.rs
@@
-58,7
+58,7
@@
impl<'a, Out: Output> Write for LockedWriteAdapter<'a, Out> {
impl<Out: Output> Logger for TestLogger<Out> {
fn log(&self, record: &Record) {
write!(LockedWriteAdapter(&self.out),
impl<Out: Output> Logger for TestLogger<Out> {
fn log(&self, record: &Record) {
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();
}
}