Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
class
ColoredFormatter(logging.Formatter):
Callers
nothing calls this directly
Calls
1
flush
Method · 0.45
Tested by
no test coverage detected