code: def test_console_logger(nlp, info):
      console_logger = loggers.console_logger(
          progress_bar=True, console_output=True, output_file=None
      )
      log_step, finalize = console_logger(nlp)
      log_step(info)
  
imports: import pytest
  import spacy
  from spacy.training import loggers
label_desc: Use image node_id 3 for calling a global function with example usage: test_console_logger(nlp, info) without return types