Function pact_ffi::pactffi_init_with_log_level
source · #[no_mangle]
pub unsafe extern "C" fn pactffi_init_with_log_level(
level: *const c_char
)
Expand description
Initialises logging, and sets the log level explicitly. This function should only be called once, as it tries to install a global tracing subscriber.
log_level
- String. One of TRACE, DEBUG, INFO, WARN, ERROR, NONE/OFF. Case-insensitive. Defaults to INFO.
§Safety
Exported functions are inherently unsafe.