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

Function RM_LogIOError

src/module.cpp:5278–5283  ·  view source on GitHub ↗

Log errors from RDB / AOF serialization callbacks. * * This function should be used when a callback is returning a critical * error to the caller since cannot load or save the data for some * critical reason. */

Source from the content-addressed store, hash-verified

5276 * error to the caller since cannot load or save the data for some
5277 * critical reason. */
5278void RM_LogIOError(RedisModuleIO *io, const char *levelstr, const char *fmt, ...) {
5279 va_list ap;
5280 va_start(ap, fmt);
5281 moduleLogRaw(io->type->module,levelstr,fmt,ap);
5282 va_end(ap);
5283}
5284
5285/* Redis-like assert function.
5286 *

Callers

nothing calls this directly

Calls 1

moduleLogRawFunction · 0.85

Tested by

no test coverage detected