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. */
| 2446 | * If the resulting string is longer than 'len' plus a few more chars |
| 2447 | * used as prefix, it gets truncated. */ |
| 2448 | void ldbLogRedisReply(char *reply) { |
| 2449 | sds log = sdsnew("<reply> "); |
| 2450 | ldbRedisProtocolToHuman(&log,reply); |
| 2451 | ldbLogWithMaxLen(log); |
| 2452 | } |
| 2453 | |
| 2454 | /* Implements the "print <var>" command of the Lua debugger. It scans for Lua |
| 2455 | * var "varname" starting from the current stack frame up to the top stack |
no test coverage detected