MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / log

Function log

samples/stream_consumer.py:30–32  ·  view source on GitHub ↗
(thread: str, msg: str)

Source from the content-addressed store, hash-verified

28# Shared state
29stop_poller = threading.Event()
30def log(thread: str, msg: str) -> None:
31 ts = time.strftime("%H:%M:%S")
32 print(f"[{ts}] [{thread:6s}] {msg}", flush=True)
33def make_client(service: str = "dynamodb"):
34 return boto3.client(
35 service,

Callers 4

writer_threadFunction · 0.85
poller_threadFunction · 0.85
refresh_shardsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected