Fix warnings - InfoContext::builder and shared reference to mutable static
dmitrypol opened this issue · comments
run ./build.sh
warning: creating a shared reference to mutable static is discouraged
--> src/logging.rs:160:29
|
160 | log::set_logger(&LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace))
| ^^^^^^^ shared reference to mutable static
use of deprecated method `valkey_module::InfoContext::add_info_section`: Please use [`InfoContext::builder`] instead.