MCPcopy Create free account
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/logging/__init__.py:1480–1491  ·  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

1478 _tls = threading.local()
1479
1480 def __init__(self, name, level=NOTSET):
1481 """
1482 Initialize the logger with a name and an optional level.
1483 """
1484 Filterer.__init__(self)
1485 self.name = name
1486 self.level = _checkLevel(level)
1487 self.parent = None
1488 self.propagate = True
1489 self.handlers = []
1490 self.disabled = False
1491 self._cache = {}
1492
1493 def setLevel(self, level):
1494 """

Callers

nothing calls this directly

Calls 2

_checkLevelFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected