MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ldbLog

Function ldbLog

src/scripting.cpp:1907–1909  ·  view source on GitHub ↗

Append a log entry to the specified LDB log. */

Source from the content-addressed store, hash-verified

1905
1906/* Append a log entry to the specified LDB log. */
1907void ldbLog(sds entry) {
1908 listAddNodeTail(ldb.logs,entry);
1909}
1910
1911/* A version of ldbLog() which prevents producing logs greater than
1912 * ldb.maxlen. The first time the limit is reached a hint is generated

Callers 14

luaPushErrorFunction · 0.85
luaRedisGenericCommandFunction · 0.85
luaRedisDebugCommandFunction · 0.85
ldbLogWithMaxLenFunction · 0.85
ldbEndSessionFunction · 0.85
ldbLogSourceLineFunction · 0.85
ldbPrintFunction · 0.85
ldbPrintAllFunction · 0.85
ldbBreakFunction · 0.85
ldbEvalFunction · 0.85
ldbTraceFunction · 0.85
ldbMaxlenFunction · 0.85

Calls 1

listAddNodeTailFunction · 0.85

Tested by

no test coverage detected