MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_log_set_sink

Function cbm_log_set_sink

src/foundation/log.c:117–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void cbm_log_set_sink(cbm_log_sink_fn fn) {
118 cbm_log_set_sink_ex(fn, CBM_LOG_SINK_REPLACE);
119}
120
121void cbm_log_set_sink_ex(cbm_log_sink_fn fn, CBMLogSinkMode mode) {
122 /* Mode first: a reader that observes the new sink then reads the mode can

Callers 15

cbm_progress_sink_initFunction · 0.85
cbm_progress_sink_finiFunction · 0.85
host_log_openFunction · 0.85
host_log_closeFunction · 0.85
test_cli.cFile · 0.85
test_diagnostics.cFile · 0.85
cx_runFunction · 0.85
index_captureFunction · 0.85
test_mcp.cFile · 0.85
autoindex_limit_probeFunction · 0.85
test_httpd.cFile · 0.85
test_pipeline.cFile · 0.85

Calls 1

cbm_log_set_sink_exFunction · 0.85

Tested by 6

cx_runFunction · 0.68
index_captureFunction · 0.68
autoindex_limit_probeFunction · 0.68
capture_logs_startFunction · 0.68
capture_logs_endFunction · 0.68