Module redis_module::logging
source · Re-exports
pub use standard_log_implementation::*;
Modules
- The [log] crate implementation of logging.
Enums
- RedisLogLevel is a level of logging which can be used when logging with Redis. See raw::RedisModule_Log and the official redis reference.
Functions
- Log a message to the Redis log with the given log level, without requiring a context. This prevents Redis from including the module name in the logged message.
- Log a message to Redis at the RedisLogLevel::Debug level.
- This function should be used when a callback is returning a critical error to the caller since cannot load or save the data for some critical reason.
- Log a message to Redis at the RedisLogLevel::Notice level.
- Log a message to Redis at the RedisLogLevel::Verbose level.
- Log a message to Redis at the RedisLogLevel::Warning level.