Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
def
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
104
async
def
main() -> None:
Callers
2
on_codex_stream
Function · 0.70
main
Function · 0.70
Calls
1
_timestamp
Function · 0.70
Tested by
no test coverage detected