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

Method setLevel

Lib/logging/__init__.py:985–989  ·  view source on GitHub ↗

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

(self, level)

Source from the content-addressed store, hash-verified

983 self.lock.release()
984
985 def setLevel(self, level):
986 """
987 Set the logging level of this handler. level must be an int or a str.
988 """
989 self.level = _checkLevel(level)
990
991 def format(self, record):
992 """

Callers

nothing calls this directly

Calls 1

_checkLevelFunction · 0.85

Tested by

no test coverage detected