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>,
) -> i32Expand description
Appends one bounded access-log line to a runtime-owned log file.
§Parameters
path: Input consumed bycrate::runtime::ops_bridge::write_error_log.app_id: Input consumed bycrate::runtime::ops_bridge::write_error_log.method: Input consumed bycrate::runtime::ops_bridge::write_error_log.request_path: Input consumed bycrate::runtime::ops_bridge::write_error_log.status_text: Input consumed bycrate::runtime::ops_bridge::write_error_log.reason: Input consumed bycrate::runtime::ops_bridge::write_error_log.
§Returns
Returns the computed value produced by crate::runtime::ops_bridge::write_error_log.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::ops_bridge::write_error_log.
§Examples
ⓘ
let _result = pharos_native::runtime::ops_bridge::write_error_log(std::path::Path::new("fixture.json"), todo!(), todo!(), "/", "400 Bad Request", todo!());§Related
crate::runtime::ops_bridgefor adjacent helpers that share the same runtime surface.