1 use lightning::util::logger::{Logger, Record};
3 pub struct TestLogger {}
5 impl Logger for TestLogger {
6 fn log(&self, record: &Record) {
8 println!("{:<5} [{} : {}, {}] {}", record.level.to_string(), record.module_path, record.file, record.line, record.args);
10 let _ = format!("{}", record.args);