Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc120f commit 60812a2Copy full SHA for 60812a2
1 file changed
src/main.rs
@@ -30,12 +30,12 @@ fn main() -> Result<()> {
30
31
if let Some(log_file) = &opt.log_file {
32
log_panics::init();
33
-
+
34
let log_output = std::fs::OpenOptions::new()
35
.create(true)
36
.append(true)
37
.open(log_file)?;
38
39
fern::Dispatch::new()
40
.level(log::LevelFilter::Debug)
41
.format(|formatter_out, log_msg, log_rec| {
@@ -51,7 +51,7 @@ fn main() -> Result<()> {
51
})
52
.chain(log_output)
53
.apply()?;
54
55
info!("dua options={opt:#?}");
56
}
57
0 commit comments