MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / has_file_logging

Method has_file_logging

keepercommander/cli.py:539–541  ·  view source on GitHub ↗

Check if file logging is active.

(self)

Source from the content-addressed store, hash-verified

537 self.logger = logging.getLogger()
538
539 def has_file_logging(self):
540 """Check if file logging is active."""
541 return any(getattr(h, '_debug_file', False) for h in self.logger.handlers)
542
543 def is_console_debug_on(self, batch_mode):
544 """Check if console debug is enabled."""

Callers 2

is_console_debug_onMethod · 0.95
toggle_console_debugMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected