mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Lua debugger: redis.debug() implemented.
This commit is contained in:
@ -523,6 +523,7 @@ sds sdscatcolor(sds o, char *s, size_t len, char *color) {
|
||||
sds sdsCatColorizedLdbReply(sds o, char *s, size_t len) {
|
||||
char *color = "white";
|
||||
|
||||
if (strstr(s,"<debug>")) color = "bold";
|
||||
if (strstr(s,"<redis>")) color = "green";
|
||||
if (strstr(s,"<reply>")) color = "cyan";
|
||||
if (strstr(s,"<error>")) color = "red";
|
||||
|
Reference in New Issue
Block a user