MCPcopy Create free account
hub / github.com/HKUDS/OpenSpace / emit

Method emit

openspace/utils/logging.py:54–56  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

52 """File handler that flushes after each emit for real-time logging"""
53
54 def emit(self, record):
55 super().emit(record)
56 self.flush() # Immediately flush to disk
57
58
59class ColoredFormatter(logging.Formatter):

Callers

nothing calls this directly

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected