MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / getEffectiveLevel

Method getEffectiveLevel

lib/sqlalchemy/log.py:214–220  ·  view source on GitHub ↗

What's the effective level for this logger?

(self)

Source from the content-addressed store, hash-verified

212 return level >= self.getEffectiveLevel()
213
214 def getEffectiveLevel(self) -> int:
215 """What's the effective level for this logger?"""
216
217 level = self._echo_map[self.echo]
218 if level == logging.NOTSET:
219 level = self.logger.getEffectiveLevel()
220 return level
221
222
223def instance_logger(

Callers 3

isEnabledForMethod · 0.95
logMethod · 0.80
test_levelsMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_levelsMethod · 0.64