OK, then I think in the notebook we only need to set `verbose = true` and in the libbmrm.cpp we can modify the code like this:
```
if (verbose)
{
        float64_t debug_tstart=ttime.cur_time_diff(false);

        SGVector<float64_t> w_debug(W, nDim, false);
        float64_t primal = CSOSVMHelper::primal_objective(w_debug, model, _lambda);
        float64_t train_error = CSOSVMHelper::average_loss(w_debug, model);
        helper->add_debug_info(primal, bmrm.nIter, train_error);

        float64_t debug_tstop=ttime.cur_time_diff(false);

        if (SG_UNLIKELY(sg_io->loglevel_above(MSG_INFO)))
                SG_SPRINT("%4d: add_debug_info: tim=%.3lf, primal=%.3lf, train_error=%lf\n", bmrm.nIter, debug_tstop-debug_tstart, primal, train_error);
}
```
Is that what you mean?