MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _should_log_debug

Method _should_log_debug

lib/sqlalchemy/log.py:96–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 _echo: _EchoFlagType
95
96 def _should_log_debug(self) -> bool:
97 return self.logger.isEnabledFor(logging.DEBUG)
98
99 def _should_log_info(self) -> bool:
100 return self.logger.isEnabledFor(logging.INFO)

Callers 3

__init__Method · 0.80
checkoutMethod · 0.80
test_levelsMethod · 0.80

Calls 1

isEnabledForMethod · 0.80

Tested by 1

test_levelsMethod · 0.64