spdlog/src/file_sinks.cpp

21 lines
801 B
C++
Raw Normal View History

2019-09-05 23:31:08 +08:00
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#ifndef SPDLOG_COMPILED_LIB
2021-07-19 05:50:51 +08:00
# error Please define SPDLOG_COMPILED_LIB to compile this file.
2019-09-05 23:31:08 +08:00
#endif
2020-03-06 21:51:07 +08:00
#include <spdlog/details/null_mutex.h>
#include <spdlog/details/file_helper-inl.h>
#include <spdlog/sinks/basic_file_sink-inl.h>
2020-03-10 03:02:16 +08:00
#include <spdlog/sinks/base_sink-inl.h>
2020-03-06 21:51:07 +08:00
2019-09-05 23:31:08 +08:00
#include <mutex>
2019-09-20 06:28:02 +08:00
2020-03-10 03:02:16 +08:00
template class SPDLOG_API spdlog::sinks::basic_file_sink<std::mutex>;
template class SPDLOG_API spdlog::sinks::basic_file_sink<spdlog::details::null_mutex>;
#include <spdlog/sinks/rotating_file_sink-inl.h>
template class SPDLOG_API spdlog::sinks::rotating_file_sink<std::mutex>;
2021-05-30 20:02:56 +08:00
template class SPDLOG_API spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;