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