code: def report_issue(self, message, *args, **kw):
          
          if self.strict:
              raise ValueError(format(message, *args, **kw))
          else:
              logger.warning(format(message, *args, **kw))
docs: Handle a problem by raising an exception or logging a warning (depending on :attr:`strict`).