All commands exported by Redis to Lua scripts are now inside the redis table. Implemented redis.log() function.

This commit is contained in:
antirez
2011-05-16 18:32:03 +02:00
parent 7229d60d03
commit 288f811fea
2 changed files with 65 additions and 1 deletions

View File

@ -963,6 +963,7 @@ struct redisCommand *lookupCommandByCString(char *s);
void call(redisClient *c, struct redisCommand *cmd);
int prepareForShutdown();
void redisLog(int level, const char *fmt, ...);
void redisLogRaw(int level, const char *msg);
void usage();
void updateDictResizePolicy(void);
int htNeedsResize(dict *dict);