| 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. |
|---|---|
| 2 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 3 | |
| 4 | #ifndef SPDLOG_COMPILED_LIB |
| 5 | #error Please define SPDLOG_COMPILED_LIB to compile this file. |
| 6 | #endif |
| 7 | |
| 8 | #include <spdlog/common-inl.h> |
| 9 | #include <spdlog/details/backtracer-inl.h> |
| 10 | #include <spdlog/details/log_msg-inl.h> |
| 11 | #include <spdlog/details/log_msg_buffer-inl.h> |
| 12 | #include <spdlog/details/null_mutex.h> |
| 13 | #include <spdlog/details/os-inl.h> |
| 14 | #include <spdlog/details/registry-inl.h> |
| 15 | #include <spdlog/logger-inl.h> |
| 16 | #include <spdlog/pattern_formatter-inl.h> |
| 17 | #include <spdlog/sinks/base_sink-inl.h> |
| 18 | #include <spdlog/sinks/sink-inl.h> |
| 19 | #include <spdlog/spdlog-inl.h> |
| 20 | |
| 21 | #include <mutex> |
| 22 | |
| 23 | // template instantiate logger constructor with sinks init list |
| 24 | template SPDLOG_API spdlog::logger::logger(std::string name, |
| 25 | sinks_init_list::iterator begin, |
| 26 | sinks_init_list::iterator end); |
| 27 | template class SPDLOG_API spdlog::sinks::base_sink<std::mutex>; |
| 28 | template class SPDLOG_API spdlog::sinks::base_sink<spdlog::details::null_mutex>; |
| 29 |