MCPcopy Create free account
hub / github.com/Tele-AI/Fluxon / _debug_print

Function _debug_print

fluxon_test_stack/distributed_benchmark_node.py:972–977  ·  view source on GitHub ↗

Lightweight debug print with flush for easier tracing. Uses stdout directly so messages appear even if logging buffers.

(msg: str)

Source from the content-addressed store, hash-verified

970 def format(self, record):
971 log_color = self.COLORS.get(record.levelname, self.COLORS["RESET"])
972 record.levelname = f"{log_color}[NODE-{record.levelname}]{self.COLORS['RESET']}"
973 return super().format(record)
974
975
976# Colored logging
977handler = logging.StreamHandler()
978handler.setFormatter(
979 ColoredFormatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
980)

Callers 4

_heartbeat_loopMethod · 0.85
worker_targetMethod · 0.85
_run_worker_threadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected