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
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>
22spdlog::stdout_logger_mt<spdlog::synchronous_factory>(const std::string &logger_name);
23template SPDLOG_API std::shared_ptr<spdlog::logger>
24spdlog::stdout_logger_st<spdlog::synchronous_factory>(const std::string &logger_name);
25template SPDLOG_API std::shared_ptr<spdlog::logger>
26spdlog::stderr_logger_mt<spdlog::synchronous_factory>(const std::string &logger_name);
27template SPDLOG_API std::shared_ptr<spdlog::logger>
28spdlog::stderr_logger_st<spdlog::synchronous_factory>(const std::string &logger_name);
29
30template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stdout_logger_mt<spdlog::async_factory>(
31 const std::string &logger_name);
32template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stdout_logger_st<spdlog::async_factory>(
33 const std::string &logger_name);
34template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stderr_logger_mt<spdlog::async_factory>(
35 const std::string &logger_name);
36template SPDLOG_API std::shared_ptr<spdlog::logger> spdlog::stderr_logger_st<spdlog::async_factory>(
37 const std::string &logger_name);
38