class_docstr: Provides access and control of log capturing.
class_docstr_tok: ["Provides","access","and","control","of","log","capturing","."]
docstr: Creates a new funcarg.
docstr_tok: ["Creates","a","new","funcarg","."]
code: def __init__(self, item):
      """Creates a new funcarg."""
      self._item = item
      # dict of log name -> log level
      self._initial_log_levels = {}
  
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 1 to create a new LogCaptureFixture object from inherited base classes: object with example: obj = LogCaptureFixture(item)