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

Function cbm_log_int

src/foundation/log.c:258–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void cbm_log_int(CBMLogLevel level, const char *msg, const char *key, int64_t value) {
259 char value_buf[CBM_SZ_32];
260 snprintf(value_buf, sizeof(value_buf), "%" PRId64, value);
261 cbm_log(level, msg, key ? key : "?", value_buf, NULL);
262}
263
264static void copy_path_without_query(const char *path, char *out, size_t outsz) {
265 if (!out || outsz == 0) {

Callers 1

test_log.cFile · 0.85

Calls 1

cbm_logFunction · 0.85

Tested by

no test coverage detected