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

Method setLevel

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

934 self.lock.release()
935
936 def setLevel(self, level):
937 """
938 Set the logging level of this handler. level must be an int or a str.
939 """
940 self.level = _checkLevel(level)
941
942 def format(self, record):
943 """

Callers

nothing calls this directly

Calls 1

_checkLevelFunction · 0.85

Tested by

no test coverage detected