Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgentOps-AI/agentops
/ format
Method
format
agentops/logging/formatters.py:32–34 ·
view source on GitHub ↗
(self, record)
Source
from the content-addressed store, hash-verified
30
ANSI_ESCAPE_PATTERN = re.compile(r
"\x1b\[[0-9;]*m"
)
31
32
def
format(self, record):
33
record.msg = self.ANSI_ESCAPE_PATTERN.sub(
""
, str(record.msg))
34
return
super().format(record)
Callers
nothing calls this directly
Calls
1
format
Method · 0.45
Tested by
no test coverage detected