1 use lightning::util::logger::{Logger, Record};
3 pub struct TestLogger {}
5 impl Logger for TestLogger {
6 fn log(&self, record: &Record) {
7 #[cfg(any(test, not(feature = "fuzztarget")))]
8 println!("{:<5} [{} : {}, {}] {}", record.level.to_string(), record.module_path, record.file, record.line, record.args);