class_docstr: Provides access and control of log capturing.
class_docstr_tok: ["Provides","access","and","control","of","log","capturing","."]
docstr: Returns the formatted log text.
docstr_tok: ["Returns","the","formatted","log","text","."]
code: def text(self):
      """Returns the formatted log text."""
      return _remove_ansi_escape_sequences(
          self.handler.stream.getvalue()
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import re
  from contextlib import contextmanager
  import py
  import six
  import pytest
  from _pytest.compat import dummy_context_manager
  from _pytest.config import create_terminal_writer
  from _pytest.pathlib import Path
label_desc: Use image node_id 5 for calling the LogCaptureFixture obj's underlying member method code with example usage: obj.text() and returns: _remove_ansi_escape_sequences