MCPcopy
hub / github.com/Sophomoresty/gemini-web2api / log

Function log

gemini_web2api.py:99–102  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

97# ─── Utilities ───────────────────────────────────────────────────────────────
98
99def log(msg: str):
100 if CONFIG["log_requests"]:
101 sys.stderr.write(f"[{time.strftime('%H:%M:%S')}] {msg}\n")
102 sys.stderr.flush()
103
104
105def load_cookie() -> tuple:

Callers 7

load_cookieFunction · 0.70
gemini_stream_generateFunction · 0.70
log_messageMethod · 0.70
do_GETMethod · 0.70
do_POSTMethod · 0.70
handle_chatMethod · 0.70
load_configFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected