#[unsafe(no_mangle)]pub extern "C" fn blaze_trace(
lvl: blaze_trace_lvl,
cb: blaze_trace_cb,
)Expand description
Enable the main library’s tracing infrastructure and invoke a callback function for each emitted trace line.
The provided blaze_trace_lvl determines what kind of traces are
emitted.
This function should be invoked at most once. Subsequent invocations will not affect tracing behavior.
On error the function sets the thread’s last error to indicate the
problem encountered. Use blaze_err_last to retrieve this error.
§Notes
- the format of emitted lines is unspecified and subject to change; it is meant for human consumption and not programmatic evaluation