diff --git a/spdlog/Cargo.toml b/spdlog/Cargo.toml index afc926a9..c21e306a 100644 --- a/spdlog/Cargo.toml +++ b/spdlog/Cargo.toml @@ -75,13 +75,13 @@ paste = "1.0.14" trybuild = "1.0.90" # [bench-dependencies] -log = "=0.4.21" +log = "=0.4.22" slog = "=2.7.0" sloggers = "=2.2.0" log4rs = "=1.3.0" -fast_log = "=1.6.16" +fast_log = "=1.7.4" fern = "=0.6.2" -flexi_logger = "=0.28.3" +flexi_logger = "=0.29.2" ftlog = "=0.2.14" tracing = "=0.1.40" tracing-subscriber = "=0.3.18" diff --git a/spdlog/benches/fast_log/3_rotating_daily_async.rs b/spdlog/benches/fast_log/3_rotating_daily_async.rs index e084bc5a..fe815301 100644 --- a/spdlog/benches/fast_log/3_rotating_daily_async.rs +++ b/spdlog/benches/fast_log/3_rotating_daily_async.rs @@ -10,7 +10,10 @@ use std::time::Duration; use fast_log::{ config::Config, consts::LogSize, - plugin::{file_split::KeepType, packer::LogPacker}, + plugin::{ + file_split::{KeepType, Rolling, RollingType}, + packer::LogPacker, + }, }; use log::info; use test::Bencher; @@ -24,7 +27,8 @@ fn bench_4_rotating_daily_async(bencher: &mut Bencher) { .join("rotating_daily_async.log") .to_str() .unwrap(), - LogSize::EB(1), // There is no unlimited option, so we use a large size + // There is no unlimited option, so we use a large size + Rolling::new(RollingType::BySize(LogSize::EB(1))), KeepType::KeepTime(Duration::from_secs(24 * 3600)), LogPacker {}, )