/** * */ public void RegisterLogFunction(YAPI.LogHandler logfun) { _logCallback = logfun; }
/** * <summary> * Registers a log callback function. * <para> * This callback will be called each time * the API have something to say. Quite useful to debug the API. * </para> * </summary> * <param name="logfun"> * a procedure taking a string parameter, or <c>null</c> * to unregister a previously registered callback. * </param> */ public static void RegisterLogFunction(YAPI.LogHandler logfun) { imm_GetYCtx().RegisterLogFunction(logfun); }