pub fn write_error_log( path: &Path, app_id: Option<&str>, method: Option<&str>, request_path: Option<&str>, status_text: Option<&str>, reason: Option<&str>, ) -> i32