Function pact_ffi::pactffi_init

source ·
#[no_mangle]
pub unsafe extern "C" fn pactffi_init(log_env_var: *const c_char)
Expand description

Initialise the mock server library, can provide an environment variable name to use to set the log levels. This function should only be called once, as it tries to install a global tracing subscriber.

§Safety

log_env_var must be a valid NULL terminated UTF-8 string.