old_contents: """
  # ----------------------------------------------------------------------
  # error.py
  #
  # Error logging and reporting module. Utilizes python logging.
  #
  # Author: Nick Korasidis <Renelvon@gmail.com>
  # ----------------------------------------------------------------------
  """
  
  import logging
  
  
  class DummyLogger:
      """
      DummyLogger class implements the Logger interface in a dummy way
      to enable better testability.
      """
      def info(self):
          pass
      def error(self):
          pass
      def warning(self):
          pass
      def debug(self):
          pass
  
  class Logger:
      """
      Simple error logger for the llama compiler. Provides methods for
      logging and reporting errors of varying severities.
      It is intended that all modules share one instance of this class.
      """
  
      # Number of Logger instances created
      _instances = 0
  
      # The logger instance, as constructed by the logging module
      _logger = None
  
      def __init__(self, inputfile, level=logging.WARNING):
          """Create a new logger for the llama compiler."""
          self._logger = logging.getLogger('llama%d' % Logger._instances)
          Logger._instances += 1
          self._logger.setLevel(level)
          formatter = logging.Formatter(inputfile + ": %(message)s")
          handler = logging.StreamHandler()
          handler.setFormatter(formatter)
          self._logger.addHandler(handler)
  
      def critical(self, *args):
          """Add a critical error to the logger."""
          self._logger.critical(*args)
  
      def error(self, *args):
          """Add an error to the logger."""
          self._logger.error(*args)
  
      def debug(self, *args):
          """Add some debug info to the logger."""
          self._logger.debug(*args)
  
      def info(self, *args):
          """Add some general info to the logger."""
          self._logger.info(*args)
  
      def warning(self, *args):
          """Add a warning to the logger."""
          self._logger.warning(*args)
  
new_contents: """
  # ----------------------------------------------------------------------
  # error.py
  #
  # Error logging and reporting module. Utilizes python logging.
  #
  # Author: Nick Korasidis <Renelvon@gmail.com>
  # ----------------------------------------------------------------------
  """
  
  import logging
  
  
  class DummyLogger:
      """
      DummyLogger class implements the Logger interface in a dummy way
      to enable better testability.
      """
      def info(self, *args):
          pass
      def error(self, *args):
          pass
      def warning(self, *args):
          pass
      def debug(self, *args):
          pass
  
  class Logger:
      """
      Simple error logger for the llama compiler. Provides methods for
      logging and reporting errors of varying severities.
      It is intended that all modules share one instance of this class.
      """
  
      # Number of Logger instances created
      _instances = 0
  
      # The logger instance, as constructed by the logging module
      _logger = None
  
      def __init__(self, inputfile, level=logging.WARNING):
          """Create a new logger for the llama compiler."""
          self._logger = logging.getLogger('llama%d' % Logger._instances)
          Logger._instances += 1
          self._logger.setLevel(level)
          formatter = logging.Formatter(inputfile + ": %(message)s")
          handler = logging.StreamHandler()
          handler.setFormatter(formatter)
          self._logger.addHandler(handler)
  
      def critical(self, *args):
          """Add a critical error to the logger."""
          self._logger.critical(*args)
  
      def error(self, *args):
          """Add an error to the logger."""
          self._logger.error(*args)
  
      def debug(self, *args):
          """Add some debug info to the logger."""
          self._logger.debug(*args)
  
      def info(self, *args):
          """Add some general info to the logger."""
          self._logger.info(*args)
  
      def warning(self, *args):
          """Add a warning to the logger."""
          self._logger.warning(*args)
  
subject: fix DummyLogger class to use arbitrary number of arguments as defined in interface