[−][src]Function time_logger_play::time_logger
pub fn time_logger(filename: &str, string: &str) -> Result<()>
Logger function with doc attribute
This is a description
ⓘThis example is not tested
Required: - Filename &str - Buffer &str Returns - Ok() or Err()
Test the program
let result = play::time_logger("test.txt", &"Just a doc test").unwrap(); assert_eq!(result, ());