From 4c2ce2c82cad779513cb524c09bf0bbbfc195d88 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 13 Feb 2022 09:41:15 +0200 Subject: [PATCH] Update rotating_file_sink-inl.h --- include/spdlog/sinks/rotating_file_sink-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/rotating_file_sink-inl.h b/include/spdlog/sinks/rotating_file_sink-inl.h index 808a17f4..8ac8cb14 100644 --- a/include/spdlog/sinks/rotating_file_sink-inl.h +++ b/include/spdlog/sinks/rotating_file_sink-inl.h @@ -38,7 +38,7 @@ SPDLOG_INLINE rotating_file_sink::rotating_file_sink( if (max_size > 200000) { - throw_spdlog_ex("rotating sink constructor: max_size arg cannot exceed 2000000"); + throw_spdlog_ex("rotating sink constructor: max_size arg cannot exceed 200000"); } file_helper_.open(calc_filename(base_filename_, 0)); current_size_ = file_helper_.size(); // expensive. called only once