MCPcopy Create free account
hub / github.com/MorDavid/NetworkHound / _log_result

Method _log_result

validators/base_validator.py:131–138  ·  view source on GitHub ↗

Log validation result - can be overridden by subclasses

(self, target, result, completed, total)

Source from the content-addressed store, hash-verified

129 }
130
131 def _log_result(self, target, result, completed, total):
132 """Log validation result - can be overridden by subclasses"""
133 protocol_result = result.get(self.protocol_name.lower(), {})
134 status = "✅" if protocol_result.get('status', False) else "❌"
135 error = protocol_result.get('error', '')
136 error_str = f" - {error}" if error else ""
137
138 logger.debug(f"[{completed}/{total}] {target}: {status}{self.protocol_name}{error_str}")
139
140 @classmethod
141 def get_validator_info(cls):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected