code: def log_struct(self, info, **kw):
          
          self.entries.append(StructEntry(payload=info, **kw))
docs: Add a struct entry to be logged during :meth:`commit`.
  
          :type info: dict
          :param info: the struct entry
  
          :type kw: dict
          :param kw: (optional) additional keyword arguments for the entry.
                     See :class:`~google.cloud.logging.entries.LogEntry`.