MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/logging/__init__.py:1481–1492  ·  view source on GitHub ↗

Initialize the logger with a name and an optional level.

(self, name, level=NOTSET)

Source from the content-addressed store, hash-verified

1479 There is no arbitrary limit to the depth of nesting.
1480 """
1481 def __init__(self, name, level=NOTSET):
1482 """
1483 Initialize the logger with a name and an optional level.
1484 """
1485 Filterer.__init__(self)
1486 self.name = name
1487 self.level = _checkLevel(level)
1488 self.parent = None
1489 self.propagate = True
1490 self.handlers = []
1491 self.disabled = False
1492 self._cache = {}
1493
1494 def setLevel(self, level):
1495 """

Callers

nothing calls this directly

Calls 2

_checkLevelFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected