MCPcopy Index your code
hub / github.com/RustPython/RustPython / RootLogger

Class RootLogger

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

1840
1841
1842class RootLogger(Logger):
1843 """
1844 A root logger is not that different to any other logger, except that
1845 it must have a logging level and there is only one instance of it in
1846 the hierarchy.
1847 """
1848 def __init__(self, level):
1849 """
1850 Initialize the logger with the name "root".
1851 """
1852 Logger.__init__(self, "root", level)
1853
1854 def __reduce__(self):
1855 return getLogger, ()
1856
1857_loggerClass = Logger
1858

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected