code: def create_logger(name):
      """
      Create a logger object with the given name.
  
      If this is the first time that we call this method, then initialize the
      formatter.
      """
      base = logging.getLogger("cleverhans")
      if len(base.handlers) == 0:
          ch = logging.StreamHandler()
          formatter = logging.Formatter(
              "[%(levelname)s %(asctime)s %(name)s] " + "%(message)s"
          )
          ch.setFormatter(formatter)
          base.addHandler(ch)
  
      return base
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from collections import OrderedDict
  import warnings
  import logging
  import os
  import re
  import subprocess
  import numpy
  from six.moves import xrange
label_desc: Use image node_id 11 for calling a global function with example usage: create_logger(name) and returns: base