Function pact_mock_server_ffi::mock_server_logs [−][src]
#[no_mangle] pub extern "C" fn mock_server_logs(
mock_server_port: i32
) -> *const c_char
Expand description
Fetch the logs for the mock server. This needs the memory buffer log sink to be setup before
the mock server is started. Returned string will be freed with the cleanup_mock_server
function call.
Will return a NULL pointer if the logs for the mock server can not be retrieved.