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