code: def _log(self, priority, message, *args, **kwargs):
          
          for arg in args:
              message = message + "\n" + self.pretty_printer.pformat(arg)
  
          self.logger.log(priority, message)
docs: Generic log functions