code: def test_optimization_logger(caplog) -> None:
      instrum = ng.p.Instrumentation(
          None,
          2.0,
          blublu="blublu",
          array=ng.p.Array(shape=(3, 2)),
          multiobjective=False,
      )
      logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO"))
      logger = logging.getLogger(__name__)
      optimizer = optimizerlib.OnePlusOne(
          parametrization=instrum, budget=3
      )
      optimizer.register_callback(
          "tell",
          callbacks.OptimizationLogger(
              logger=logger,
              log_level=logging.INFO,
              log_interval_tells=10,
              log_interval_seconds=0.1,
          ),
      )
      with caplog.at_level(logging.INFO):
          optimizer.minimize(_func, verbosity=2)
      assert (
          "After 0, recommendation is Instrumentation(Tuple(None,2.0),Dict(array=Array{(3,2)},blublu=blublu,multiobjective=False))"
          in caplog.text
      )
  
imports: import time
  from pathlib import Path
  import logging
  import os
  import numpy
  import nevergrad
  import nevergrad.common.typing
  from .None import optimizerlib
  from .None import callbacks
label_desc: Use image node_id 9 for calling a global function with example usage: test_optimization_logger(caplog) without return types