code: def fake2db_logger():
      '''creates a logger obj'''
      # Pull the local ip and username for meaningful logging
      username = getpass.getuser()
      
      # Set the logger
      FORMAT = '%(asctime)-15s %(user)-8s %(message)s'
      logging.basicConfig(format=FORMAT)
      extra_information = {'user': username}
      logger = logging.getLogger('fake2db_logger')
      # --------------------
      return logger, extra_informatiof fake2db_logger():
      '''creates a logger obj'''
      # Pull the local ip and username for meaningful logging
      username = getpass.getuser()
      
      # Set the logger
      FORMAT = '%(asctime)-15s %(user)-8s %(message)s'
      logging.basicConfig(format=FORMAT)
      extra_information = {'user': username}
      logger = logging.getLogger('fake2db_logger')
      # --------------------
      return logger, extra_information
docs: creates a logger obj