src/tools/file_logger.rs: fix test
This commit is contained in:
parent
660c684640
commit
244abab769
@ -13,6 +13,7 @@ use std::io::Write;
|
|||||||
/// # use failure::*;
|
/// # use failure::*;
|
||||||
/// use proxmox_backup::tools::FileLogger;
|
/// use proxmox_backup::tools::FileLogger;
|
||||||
///
|
///
|
||||||
|
/// # std::fs::remove_file("test.log");
|
||||||
/// let mut log = FileLogger::new("test.log", true).unwrap();
|
/// let mut log = FileLogger::new("test.log", true).unwrap();
|
||||||
/// flog!(log, "A simple log: {}", "Hello!");
|
/// flog!(log, "A simple log: {}", "Hello!");
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
Reference in New Issue
Block a user