Module logging

Source

Re-exports§

pub use standard_log_implementation::*;

Modules§

standard_log_implementation
The [log] crate implementation of logging.

Enums§

RedisLogLevel
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
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_debug
Log a message to Redis at the RedisLogLevel::Debug level.
log_io_error
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_notice
Log a message to Redis at the RedisLogLevel::Notice level.
log_verbose
Log a message to Redis at the RedisLogLevel::Verbose level.
log_warning
Log a message to Redis at the RedisLogLevel::Warning level.