Function xgboost_sys::XGBRegisterLogCallback[][src]

pub unsafe extern "C" fn XGBRegisterLogCallback(
    callback: Option<unsafe extern "C" fn(arg1: *const c_char)>
) -> c_int

\brief register callback function for LOG(INFO) messages -- helpful messages that are not errors. Note: this function can be called by multiple threads. The callback function will run on the thread that registered it \return 0 for success, -1 for failure