Function extism::sdk::extism_log_file

source ·
#[no_mangle]
pub unsafe extern "C" fn extism_log_file(
    filename: *const c_char,
    log_level: *const c_char,
) -> bool
Expand description

Set log file and level. The log level can be either one of: info, error, trace, debug, warn or a more complex filter like extism=trace,cranelift=debug The file will be created if it doesn’t exist.