MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / should_display

Method should_display

trinity/manager/log_manager.py:152–158  ·  view source on GitHub ↗

Determine if this log line should be displayed

(self, line: str)

Source from the content-addressed store, hash-verified

150 return -1
151
152 def should_display(self, line: str) -> bool:
153 """Determine if this log line should be displayed"""
154 priority = self.parse_log_level(line)
155
156 if priority >= self.min_level:
157 return True
158 return False
159
160 def format_output(self, line: str) -> str:
161 """Format output"""

Callers 2

monitorMethod · 0.80

Calls 1

parse_log_levelMethod · 0.95

Tested by 1