MCPcopy
hub / github.com/hydropix/TranslateBooksWithLLMs / error

Function error

src/utils/unified_logger.py:552–554  ·  view source on GitHub ↗

Log error message using global logger.

(message: str, log_type: LogType = LogType.GENERAL, data: Optional[Dict[str, Any]] = None)

Source from the content-addressed store, hash-verified

550
551
552def error(message: str, log_type: LogType = LogType.GENERAL, data: Optional[Dict[str, Any]] = None):
553 """Log error message using global logger."""
554 log(LogLevel.ERROR, message, log_type, data)

Callers

nothing calls this directly

Calls 1

logFunction · 0.70

Tested by

no test coverage detected