diff options
Diffstat (limited to 'src/log/filesink.rs')
-rw-r--r-- | src/log/filesink.rs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/log/filesink.rs b/src/log/filesink.rs index 0784ad1..39de00b 100644 --- a/src/log/filesink.rs +++ b/src/log/filesink.rs @@ -1,17 +1,15 @@ -use std::path::Path; -use std::path::PathBuf; use std::fs::File; use std::fs::OpenOptions; -use std::convert::TryInto; use std::io::Write; +use std::path::Path; +use std::path::PathBuf; -use anyhow::Result; use anyhow::Error; -use anyhow::anyhow; +use anyhow::Result; -use crate::log::LogSink; -use crate::log::LogItem; use crate::job::Job; +use crate::log::LogItem; +use crate::log::LogSink; pub struct FileSink { file: File, |