[][src]Function hdk::api::debug

pub fn debug<J: Into<String>>(msg: J) -> ZomeApiResult<()>

Prints a string through the stdout of the running Conductor, and also writes that string to the logger in the execution context

Examples


pub fn handle_some_function(content: String) -> ZomeApiResult<()> {
    // ...
    hdk::debug("write a message to the logs");
    // ...
    Ok(())
}