| 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 <mutex> |
| 9 | |
| 10 | #include <spdlog/async.h> |
| 11 | #include <spdlog/details/null_mutex.h> |
| 12 | #include <spdlog/sinks/stdout_sinks-inl.h> |
| 13 | |
| 14 | template class SPDLOG_API spdlog::sinks::stdout_sink_base<spdlog::details::console_mutex>; |
| 15 | template class SPDLOG_API spdlog::sinks::stdout_sink_base<spdlog::details::console_nullmutex>; |
| 16 | template class SPDLOG_API spdlog::sinks::stdout_sink<spdlog::details::console_mutex>; |
| 17 | template class SPDLOG_API spdlog::sinks::stdout_sink<spdlog::details::console_nullmutex>; |
| 18 | template class SPDLOG_API spdlog::sinks::stderr_sink<spdlog::details::console_mutex>; |
| 19 | template class SPDLOG_API spdlog::sinks::stderr_sink<spdlog::details::console_nullmutex>; |
| 20 | |
| 21 | template SPDLOG_API std::shared_ptr<spdlog::logger> |
| 22 | spdlog::stdout_logger_mt<spdlog::synchronous_factory>(const std::string &logger_name); |
| 23 | template SPDLOG_API std::shared_ptr<spdlog::logger> |
| 24 | spdlog::stdout_logger_st<spdlog::synchronous_factory>(const std::string &logger_name); |
| 25 | template SPDLOG_API std::shared_ptr<spdlog::logger> |
| 26 | spdlog::stderr_logger_mt<spdlog::synchronous_factory>(const std::string &logger_name); |
| 27 | template SPDLOG_API std::shared_ptr<spdlog::logger> |
| 28 | spdlog::stderr_logger_st<spdlog::synchronous_factory>(const std::string &logger_name); |
| 29 | |
| 30 | template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stdout_logger_mt<spdlog::async_factory>( |
| 31 | const std::string &logger_name); |
| 32 | template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stdout_logger_st<spdlog::async_factory>( |
| 33 | const std::string &logger_name); |
| 34 | template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stderr_logger_mt<spdlog::async_factory>( |
| 35 | const std::string &logger_name); |
| 36 | template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stderr_logger_st<spdlog::async_factory>( |
| 37 | const std::string &logger_name); |
| 38 | |