|
|
|
@ -60,6 +60,11 @@ filename_t rotating_file_sink<Mutex>::filename() {
|
|
|
|
|
return file_helper_.filename();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Mutex>
|
|
|
|
|
void rotating_file_sink<Mutex>::rotate_now() {
|
|
|
|
|
rotate_();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Mutex>
|
|
|
|
|
void rotating_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
|
|
|
|
|
memory_buf_t formatted;
|
|
|
|
@ -135,4 +140,4 @@ bool rotating_file_sink<Mutex>::rename_file_(const filename_t &src_filename, con
|
|
|
|
|
|
|
|
|
|
// template instantiations
|
|
|
|
|
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>;
|
|
|
|
|