MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / RootLogger

Class RootLogger

tools/python-3.11.9-amd64/Lib/logging/__init__.py:1786–1799  ·  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

1784
1785
1786class RootLogger(Logger):
1787 """
1788 A root logger is not that different to any other logger, except that
1789 it must have a logging level and there is only one instance of it in
1790 the hierarchy.
1791 """
1792 def __init__(self, level):
1793 """
1794 Initialize the logger with the name "root".
1795 """
1796 Logger.__init__(self, "root", level)
1797
1798 def __reduce__(self):
1799 return getLogger, ()
1800
1801_loggerClass = Logger
1802

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected