code: def test_logger(app):
      assert app.logger.name == "flask_test"
      assert app.logger.level == logging.NOTSET
      assert app.logger.handlers == [default_handler]
  
file_path: flask/tests/test_logging.py
imports: import logging
  import sys
  from io import StringIO
  import pytest
  from flask.logging import default_handler
  from flask.logging import has_level_handler
  from flask.logging import wsgi_errors_stream
label_desc: Use image node_id 2 for calling a global function with example usage: test_logger(app) without return types