MCPcopy
hub / github.com/serengil/deepface / error

Method error

deepface/commons/logger.py:65–72  ·  view source on GitHub ↗

Logs an error message if the log level is set to ERROR or lower. Args: message: The message to log.

(self, message: Any)

Source from the content-addressed store, hash-verified

63 self.dump_log(f"⚠️ {message}")
64
65 def error(self, message: Any) -> None:
66 """
67 Logs an error message if the log level is set to ERROR or lower.
68 Args:
69 message: The message to log.
70 """
71 if self.log_level <= logging.ERROR:
72 self.dump_log(f"🔴 {message}")
73
74 def critical(self, message: Any) -> None:
75 """

Callers 11

analysisFunction · 0.80
overlay_identified_faceFunction · 0.80
__find_bulk_embeddingsFunction · 0.80
__is_gds_installedMethod · 0.80
registerFunction · 0.80
representFunction · 0.80
verifyFunction · 0.80
analyzeFunction · 0.80
registerFunction · 0.80
searchFunction · 0.80
build_indexFunction · 0.80

Calls 1

dump_logMethod · 0.95

Tested by

no test coverage detected