MCPcopy Create free account
hub / github.com/openai/openai-agents-python / log

Function log

examples/tools/codex.py:97–101  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

95
96
97def log(message: str) -> None:
98 timestamp = _timestamp()
99 lines = str(message).splitlines() or [""]
100 for line in lines:
101 print(f"{timestamp} {line}")
102
103
104async def main() -> None:

Callers 2

on_codex_streamFunction · 0.70
mainFunction · 0.70

Calls 1

_timestampFunction · 0.70

Tested by

no test coverage detected