mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 20:30:37 +00:00
src/tools/file_logger.rs: fix test
This commit is contained in:
parent
ff995ce0e1
commit
71d03f1ef4
@ -13,6 +13,7 @@ use std::io::Write;
|
||||
/// # use failure::*;
|
||||
/// use proxmox_backup::tools::FileLogger;
|
||||
///
|
||||
/// # std::fs::remove_file("test.log");
|
||||
/// let mut log = FileLogger::new("test.log", true).unwrap();
|
||||
/// flog!(log, "A simple log: {}", "Hello!");
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user