We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2407a1 commit 62efa0fCopy full SHA for 62efa0f
src/config.rs
@@ -197,7 +197,7 @@ pub fn setup_logger(logfile: &Option<String>, level: u8) {
197
})
198
.level(level);
199
if logfile.is_some() {
200
- cfg_if::cfg_if!{
+ cfg_if::cfg_if! {
201
if #[cfg(unix)] {
202
let path = std::path::Path::new(logfile.as_ref().unwrap().as_str());
203
builder = builder.chain(fern::log_reopen(path, Some(libc::SIGUSR2)).unwrap());
0 commit comments