mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
append instead of truncate when opening new files
This commit is contained in:
@@ -135,7 +135,7 @@ private:
|
||||
throw spdlog_ex("rotating_file_sink: failed renaming " + src + " to " + target);
|
||||
}
|
||||
}
|
||||
_file_helper.reopen();
|
||||
_file_helper.reopen(true);
|
||||
}
|
||||
std::string _base_filename;
|
||||
std::string _extension;
|
||||
|
Reference in New Issue
Block a user