MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / getEffectiveLevel

Method getEffectiveLevel

lib/sqlalchemy/log.py:219–225  ·  view source on GitHub ↗

What's the effective level for this logger?

(self)

Source from the content-addressed store, hash-verified

217 return level >= self.getEffectiveLevel()
218
219 def getEffectiveLevel(self) -> int:
220 """What's the effective level for this logger?"""
221
222 level = self._echo_map[self.echo]
223 if level == logging.NOTSET:
224 level = self.logger.getEffectiveLevel()
225 return level
226
227
228def 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