MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / format

Method format

agentops/logging/formatters.py:21–24  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

19 }
20
21 def format(self, record):
22 log_fmt = self.FORMATS.get(record.levelno, self.FORMATS[logging.INFO])
23 formatter = logging.Formatter(log_fmt)
24 return formatter.format(record)
25
26
27class AgentOpsLogFileFormatter(logging.Formatter):

Calls 1

getMethod · 0.45