diff options
Diffstat (limited to 'include/spdlog/sinks/rotating_file_sink-inl.h')
-rw-r--r-- | include/spdlog/sinks/rotating_file_sink-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/sinks/rotating_file_sink-inl.h b/include/spdlog/sinks/rotating_file_sink-inl.h index 350c2127..cf8b9d5c 100644 --- a/include/spdlog/sinks/rotating_file_sink-inl.h +++ b/include/spdlog/sinks/rotating_file_sink-inl.h @@ -35,7 +35,7 @@ SPDLOG_INLINE rotating_file_sink<Mutex>::rotating_file_sink( { throw_spdlog_ex("rotating sink constructor: max_size arg cannot be zero"); } - + if (max_files > 200000) { throw_spdlog_ex("rotating sink constructor: max_files arg cannot exceed 200000"); |