http::request::handler

Function log_file

Source
pub fn log_file(filename: &str) -> Result<Box<dyn Interceptor>>
Expand description

Log the request to a file

The file is appended to, or created if it doesn’t exists

§Errors

If creating the log file fails