mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Fixed rotating_logger_mt does not rotate properly if app restarts #116
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
||||
_file_helper(force_flush)
|
||||
{
|
||||
_file_helper.open(calc_filename(_base_filename, 0, _extension));
|
||||
_current_size = _file_helper.size(); //expensive. called only once
|
||||
}
|
||||
|
||||
void flush() override
|
||||
|
Reference in New Issue
Block a user