Log a Redis reply as debugger output, in a human readable format. * If the resulting string is longer than 'len' plus a few more chars * used as prefix, it gets truncated. */
| 2469 | * If the resulting string is longer than 'len' plus a few more chars |
| 2470 | * used as prefix, it gets truncated. */ |
| 2471 | void ldbLogRedisReply(char *reply) { |
| 2472 | sds log = sdsnew("<reply> "); |
| 2473 | ldbRedisProtocolToHuman(&log,reply); |
| 2474 | ldbLogWithMaxLen(log); |
| 2475 | } |
| 2476 | |
| 2477 | /* Implements the "print <var>" command of the Lua debugger. It scans for Lua |
| 2478 | * var "varname" starting from the current stack frame up to the top stack |
no test coverage detected