fn log_file_from_path( py: Python<'_>, file_path: PathBuf, entity_path_prefix: Option<String>, static_: bool, recording: Option<&PyRecordingStream>, ) -> PyResult<()>
Log a file by path.