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. */
| 5276 | * error to the caller since cannot load or save the data for some |
| 5277 | * critical reason. */ |
| 5278 | void 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 | * |
nothing calls this directly
no test coverage detected