Module valkey_module::logging
source · Re-exports§
pub use standard_log_implementation::*;
Modules§
- The [log] crate implementation of logging.
Enums§
- ValkeyLogLevel is a level of logging which can be used when logging with Redis. See raw::RedisModule_Log and the official valkey reference.
Functions§
- Log a message to the Valkey log with the given log level, without requiring a context. This prevents Valkey from including the module name in the logged message.
- Log a message to Valkey at the ValkeyLogLevel::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 Valkey at the ValkeyLogLevel::Notice level.
- Log a message to Valkey at the ValkeyLogLevel::Verbose level.
- Log a message to Valkey at the ValkeyLogLevel::Warning level.