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

Method setLevel

tools/python-3.11.9-amd64/Lib/logging/__init__.py:1460–1465  ·  view source on GitHub ↗

Set the logging level of this logger. level must be an int or a str.

(self, level)

Source from the content-addressed store, hash-verified

1458 self._cache = {}
1459
1460 def setLevel(self, level):
1461 """
1462 Set the logging level of this logger. level must be an int or a str.
1463 """
1464 self.level = _checkLevel(level)
1465 self.manager._clear_cache()
1466
1467 def debug(self, msg, *args, **kwargs):
1468 """

Callers 15

_install_handlersFunction · 0.45
_handle_existing_loggersFunction · 0.45
_install_loggersFunction · 0.45
configureMethod · 0.45
configure_handlerMethod · 0.45
common_logger_configMethod · 0.45
setLevelMethod · 0.45
basicConfigFunction · 0.45
__enter__Method · 0.45
__exit__Method · 0.45
prepareFunction · 0.45

Calls 2

_checkLevelFunction · 0.85
_clear_cacheMethod · 0.80