-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the redis.log function in Lua script (#379)
We implement the builtin function `redis.log()` for the Lua script, but the log level was different between Redis and Kvrocks, so we choose to keep consistency with Redis's log level to avoid compatible problem with below mappings(which would make the legacy script happy): LOG_DEBUG => NULL LOG_VERBOSE => INFO LOG_NOTICE => INFO LOG_WARNING => WARNING LOG_DEBUG would never work since the debug level make no sense in kvrocks
- Loading branch information
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters