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

Function emit_line

src/foundation/log.c:198–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void emit_line(const char *line) {
199 if (g_log_sink) {
200 g_log_sink(line);
201 if (g_log_sink_mode == CBM_LOG_SINK_REPLACE) {
202 return;
203 }
204 }
205 (void)fprintf(stderr, "%s\n", line);
206}
207
208void cbm_log(CBMLogLevel level, const char *msg, ...) {
209 if (level < g_log_level) {

Callers 1

cbm_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected