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

Class RootLogger

Lib/logging/__init__.py:1833–1846  ·  view source on GitHub ↗

A root logger is not that different to any other logger, except that it must have a logging level and there is only one instance of it in the hierarchy.

Source from the content-addressed store, hash-verified

1831
1832
1833class RootLogger(Logger):
1834 """
1835 A root logger is not that different to any other logger, except that
1836 it must have a logging level and there is only one instance of it in
1837 the hierarchy.
1838 """
1839 def __init__(self, level):
1840 """
1841 Initialize the logger with the name "root".
1842 """
1843 Logger.__init__(self, "root", level)
1844
1845 def __reduce__(self):
1846 return getLogger, ()
1847
1848_loggerClass = Logger
1849

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…