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

Method setLevel

Lib/logging/__init__.py:1957–1961  ·  view source on GitHub ↗

Set the specified level on the underlying logger.

(self, level)

Source from the content-addressed store, hash-verified

1955 return self.logger.isEnabledFor(level)
1956
1957 def setLevel(self, level):
1958 """
1959 Set the specified level on the underlying logger.
1960 """
1961 self.logger.setLevel(level)
1962
1963 def getEffectiveLevel(self):
1964 """

Callers 1

test_flatMethod · 0.95

Calls 1

setLevelMethod · 0.45

Tested by 1

test_flatMethod · 0.76