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.
| 1831 | |
| 1832 | |
| 1833 | class 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…