MCPcopy
hub / github.com/OpenBMB/AgentVerse / emit

Method emit

agentverse/logging.py:242–247  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

240
241class ConsoleHandler(logging.StreamHandler):
242 def emit(self, record) -> None:
243 msg = self.format(record)
244 try:
245 print(msg)
246 except Exception:
247 self.handleError(record)
248
249
250class AutoGptFormatter(logging.Formatter):

Callers 15

emitTurnEventMethod · 0.45
destroyMethod · 0.45
enter_SELECT1Method · 0.45
enter_SELECT2STARTMethod · 0.45
enter_SELECT2Method · 0.45
enter_SWAPMethod · 0.45
enter_UNDOSWAPMethod · 0.45
enter_STARTMethod · 0.45
enter_MATCH3Method · 0.45
enter_ELIMINATINGMethod · 0.45
enter_FALLINGMethod · 0.45
enter_FILLMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected