Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
metent committed Dec 8, 2024
1 parent 7b245c6 commit afa3563
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/bin/uair/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,40 +274,4 @@ time_format = "%M:%S"
});
Ok(())
}
//
//
// /// A captured call to the logging system. A `Vec` of these is passed
// /// to the closure supplied to the `validate()` function.
// struct CapturedLog {
// /// The formatted log message.
// body: String,
// /// The level.
// level: Level,
// /// The target.
// target: String
// }
//
// struct TestingLogger {
// captured: Vec<CapturedLog>,
// }
//
// impl log::Log for TestingLogger {
// fn enabled(&self, _metadata: &log::Metadata) -> bool {
// true // capture all log levels
// }
//
// fn log(& self, record: &log::Record) {
// self.captured.push({
// let captured_record = CapturedLog {
// body: format!("{}",record.args()),
// level: record.level(),
// target: record.target().to_string()
// };
// captured_record
// });
// }
//
// fn flush(&self) {}
//
// }
}

0 comments on commit afa3563

Please sign in to comment.