code: def default_logger():
      """A logger used to output seed information to nosetests logs."""
      logger = logging.getLogger(__name__)
      # getLogger() lookups will return the same logger, but only add the handler once.
      if not len(logger.handlers):
          handler = logging.StreamHandler(sys.stderr)
          handler.setFormatter(
              logging.Formatter("[%(levelname)s] %(message)s")
          )
          logger.addHandler(handler)
          if logger.getEffectiveLevel() == logging.NOTSET:
              logger.setLevel(logging.INFO)
      return logger
  
file_path: mxboard/tests/python/unittest/common.py
imports: import sys, os, logging
  import mxnet
  import numpy
  import random
  import shutil
  from contextlib import contextmanager
  from nose.tools import make_decorator
  import tempfile
label_desc: Use image node_id 2 for calling a global function with example usage: default_logger() and returns: logger