1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-01 02:42:41 +08:00

Update cp

This commit is contained in:
gabime 2024-11-29 22:10:23 +02:00
parent bb4b719ccf
commit 693062a8bf

View File

@ -60,6 +60,11 @@ filename_t rotating_file_sink<Mutex>::filename() {
return file_helper_.filename(); return file_helper_.filename();
} }
template <typename Mutex>
void rotating_file_sink<Mutex>::rotate_now() {
rotate_();
}
template <typename Mutex> template <typename Mutex>
void rotating_file_sink<Mutex>::sink_it_(const details::log_msg &msg) { void rotating_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
memory_buf_t formatted; memory_buf_t formatted;
@ -135,4 +140,4 @@ bool rotating_file_sink<Mutex>::rename_file_(const filename_t &src_filename, con
// template instantiations // template instantiations
template class SPDLOG_API spdlog::sinks::rotating_file_sink<std::mutex>; template class SPDLOG_API spdlog::sinks::rotating_file_sink<std::mutex>;
template class SPDLOG_API spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>; template class SPDLOG_API spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;