[][src]Function hdk::debug

pub fn debug(msg: &str) -> ZomeApiResult<()>

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

Examples

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