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. */
| 5167 | * error to the caller since cannot load or save the data for some |
| 5168 | * critical reason. */ |
| 5169 | void RM_LogIOError(RedisModuleIO *io, const char *levelstr, const char *fmt, ...) { |
| 5170 | va_list ap; |
| 5171 | va_start(ap, fmt); |
| 5172 | moduleLogRaw(io->type->module,levelstr,fmt,ap); |
| 5173 | va_end(ap); |
| 5174 | } |
| 5175 | |
| 5176 | /* Redis-like assert function. |
| 5177 | * |
nothing calls this directly
no test coverage detected