code: def printer_callback():
      """This is a simple callback example that will print out :attr:`CVExperiment.last_evaluation_results` at all
      available time intervals, along with the repetition, fold, and run number. Of course, printing evaluations at the beginning
      of each of the intervals, as is shown below, is pretty much useless. However, this shows that if you want to, you can do it
      anyways and create your own replacement for the default logger... Or make anything else you might want
      """
  
      def printer_helper(_rep, _fold, _run, last_evaluation_results):
          print(f"{_rep}.{_fold}.{_run}   {last_evaluation_results}")
  
      return lambda_callback(
          on_exp_start=printer_helper,
          on_exp_end=printer_helper,
          on_rep_start=printer_helper,
          on_rep_end=printer_helper,
          on_fold_start=printer_helper,
          on_fold_end=printer_helper,
          on_run_start=printer_helper,
          on_run_end=printer_helper,
      )
  
file_path: hyperparameter_hunter/examples/advanced_examples/lambda_callback_example.py
imports: from hyperparameter_hunter import Environment, CVExperiment
  from hyperparameter_hunter.callbacks.bases import lambda_callback
  from hyperparameter_hunter.utils.learning_utils import get_toy_classification_data
  from hyperparameter_hunter.callbacks.recipes import confusion_matrix_oof
  from sklearn.model_selection import RepeatedStratifiedKFold
  from xgboost import XGBClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: printer_callback() and returns: lambda_callback