Function gcore::ext::debug

source ·
pub fn debug(data: &str) -> Result<()>
Expand description

Add a data string to the debug log.

§Examples

use gcore::ext;

#[no_mangle]
extern "C" fn handle() {
    ext::debug("Hello, world!").expect("Unable to log");
}