Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MagicStack/asyncpg
/ LogCollector
Class
LogCollector
tests/test_logging.py:7–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
6
7
class
LogCollector:
8
def
__init__(self):
9
self.records = []
10
11
def
__call__(self, record):
12
self.records.append(record)
13
14
15
class
TestQueryLogging(tb.ConnectedTestCase):
Callers
2
test_logging_context
Method · 0.85
test_error_logging
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_logging_context
Method · 0.68
test_error_logging
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…