// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #ifndef SPDLOG_COMPILED_LIB # error Please define SPDLOG_COMPILED_LIB to compile this file. #endif #include #include #include // // color sinks // #ifdef _WIN32 # include template class SPDLOG_API spdlog::sinks::wincolor_sink; template class SPDLOG_API spdlog::sinks::wincolor_sink; template class SPDLOG_API spdlog::sinks::wincolor_stdout_sink; template class SPDLOG_API spdlog::sinks::wincolor_stdout_sink; template class SPDLOG_API spdlog::sinks::wincolor_stderr_sink; template class SPDLOG_API spdlog::sinks::wincolor_stderr_sink; #else # include "spdlog/sinks/ansicolor_sink-inl.h" template class SPDLOG_API spdlog::sinks::ansicolor_sink; template class SPDLOG_API spdlog::sinks::ansicolor_sink; template class SPDLOG_API spdlog::sinks::ansicolor_stdout_sink; template class SPDLOG_API spdlog::sinks::ansicolor_stdout_sink; template class SPDLOG_API spdlog::sinks::ansicolor_stderr_sink; template class SPDLOG_API spdlog::sinks::ansicolor_stderr_sink; #endif // factory methods for color loggers #include "spdlog/sinks/stdout_color_sinks-inl.h" template SPDLOG_API std::shared_ptr spdlog::stdout_color_mt( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stdout_color_st( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stderr_color_mt( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stderr_color_st( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stdout_color_mt( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stdout_color_st( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stderr_color_mt( const std::string &logger_name, color_mode mode); template SPDLOG_API std::shared_ptr spdlog::stderr_color_st( const std::string &logger_name, color_mode mode);