MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / critical

Method critical

utils/logger.py:154–156  ·  view source on GitHub ↗
(self, message: str, node_id: str = None, event_type: EventType = None,
                 details: Dict[str, Any] = None)

Source from the content-addressed store, hash-verified

152 self.add_log(LogLevel.ERROR, message, node_id, event_type, details, duration)
153
154 def critical(self, message: str, node_id: str = None, event_type: EventType = None,
155 details: Dict[str, Any] = None) -> None:
156 self.add_log(LogLevel.CRITICAL, message, node_id, event_type, details)
157
158 def enter_node(self, node_id: str, inputs: List[Dict[str, str]], node_type: str = None,
159 details: Dict[str, Any] = None) -> None:

Callers 1

add_logMethod · 0.45

Calls 1

add_logMethod · 0.95

Tested by

no test coverage detected