Function pact_mock_server_ffi::log_message [−][src]
#[no_mangle] pub unsafe extern "C" fn log_message(
source: *const c_char,
log_level: *const c_char,
message: *const c_char
)
Expand description
Log using the shared core logging facility.
This is useful for callers to have a single set of logs.
source
- String. The source of the log, such as the class or caller framework to disambiguate log lines from the rust logging (e.g. pact_go)log_level
- String. One of TRACE, DEBUG, INFO, WARN, ERRORmessage
- Message to log
Exported functions are inherently unsafe.