|
|
|
@ -8,72 +8,48 @@
|
|
|
|
|
#include <mutex>
|
|
|
|
|
#include <chrono>
|
|
|
|
|
|
|
|
|
|
#include "spdlog/spdlog.h"
|
|
|
|
|
#include "spdlog/spdlog-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/null_mutex.h"
|
|
|
|
|
#include "spdlog/async.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/common.h"
|
|
|
|
|
#include "spdlog/spdlog-inl.h"
|
|
|
|
|
#include "spdlog/common-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/null_mutex.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/logger.h"
|
|
|
|
|
#include "spdlog/logger-inl.h"
|
|
|
|
|
template spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end);
|
|
|
|
|
|
|
|
|
|
#include "spdlog/async_logger.h"
|
|
|
|
|
#include "spdlog/async_logger-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/log_msg.h"
|
|
|
|
|
#include "spdlog/details/log_msg-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/sinks/sink.h"
|
|
|
|
|
#include "spdlog/sinks/sink-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/sinks/base_sink.h"
|
|
|
|
|
#include "spdlog/sinks/base_sink-inl.h"
|
|
|
|
|
template class spdlog::sinks::base_sink<std::mutex>;
|
|
|
|
|
template class spdlog::sinks::base_sink<spdlog::details::null_mutex>;
|
|
|
|
|
|
|
|
|
|
#include "spdlog/sinks/basic_file_sink.h"
|
|
|
|
|
#include "spdlog/sinks/basic_file_sink-inl.h"
|
|
|
|
|
template class spdlog::sinks::basic_file_sink<std::mutex>;
|
|
|
|
|
template class spdlog::sinks::basic_file_sink<spdlog::details::null_mutex>;
|
|
|
|
|
|
|
|
|
|
#include "spdlog/sinks/rotating_file_sink.h"
|
|
|
|
|
#include "spdlog/sinks/rotating_file_sink-inl.h"
|
|
|
|
|
template class spdlog::sinks::rotating_file_sink<std::mutex>;
|
|
|
|
|
template class spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/registry.h"
|
|
|
|
|
#include "spdlog/details/registry-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/os.h"
|
|
|
|
|
#include "spdlog/details/os-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/periodic_worker.h"
|
|
|
|
|
#include "spdlog/details/periodic_worker-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/file_helper.h"
|
|
|
|
|
#include "spdlog/details/file_helper-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/pattern_formatter.h"
|
|
|
|
|
#include "spdlog/details/pattern_formatter-inl.h"
|
|
|
|
|
|
|
|
|
|
#include "spdlog/details/thread_pool.h"
|
|
|
|
|
#include "spdlog/details/thread_pool-inl.h"
|
|
|
|
|
template class spdlog::details::mpmc_blocking_queue<spdlog::details::async_msg>;
|
|
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#include "spdlog/sinks/wincolor_sink.h"
|
|
|
|
|
#include "spdlog/sinks/wincolor_sink-inl.h"
|
|
|
|
|
template class spdlog::sinks::wincolor_sink<spdlog::details::console_stdout, spdlog::details::console_mutex>;
|
|
|
|
|
template class spdlog::sinks::wincolor_sink<spdlog::details::console_stdout, spdlog::details::console_nullmutex>;
|
|
|
|
|
template class spdlog::sinks::wincolor_sink<spdlog::details::console_stderr, spdlog::details::console_mutex>;
|
|
|
|
|
template class spdlog::sinks::wincolor_sink<spdlog::details::console_stderr, spdlog::details::console_nullmutex>;
|
|
|
|
|
#else
|
|
|
|
|
#include "spdlog/sinks/ansicolor_sink.h"
|
|
|
|
|
#include "spdlog/sinks/ansicolor_sink-inl.h"
|
|
|
|
|
template class spdlog::sinks::ansicolor_sink<spdlog::details::console_stdout, spdlog::details::console_mutex>;
|
|
|
|
|
template class spdlog::sinks::ansicolor_sink<spdlog::details::console_stdout, spdlog::details::console_nullmutex>;
|
|
|
|
@ -81,7 +57,6 @@ template class spdlog::sinks::ansicolor_sink<spdlog::details::console_stderr, sp
|
|
|
|
|
template class spdlog::sinks::ansicolor_sink<spdlog::details::console_stderr, spdlog::details::console_nullmutex>;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "spdlog/sinks/stdout_color_sinks.h"
|
|
|
|
|
#include "spdlog/sinks/stdout_color_sinks-inl.h"
|
|
|
|
|
template std::shared_ptr<spdlog::logger> spdlog::stdout_color_mt<spdlog::synchronous_factory>(const std::string &logger_name);
|
|
|
|
|
template std::shared_ptr<spdlog::logger> spdlog::stdout_color_st<spdlog::synchronous_factory>(const std::string &logger_name);
|
|
|
|
@ -93,11 +68,6 @@ template std::shared_ptr<spdlog::logger> spdlog::stdout_color_st<spdlog::async_f
|
|
|
|
|
template std::shared_ptr<spdlog::logger> spdlog::stderr_color_mt<spdlog::async_factory>(const std::string &logger_name);
|
|
|
|
|
template std::shared_ptr<spdlog::logger> spdlog::stderr_color_st<spdlog::async_factory>(const std::string &logger_name);
|
|
|
|
|
|
|
|
|
|
// fmt_helper templates
|
|
|
|
|
#include "spdlog/details/fmt_helper.h"
|
|
|
|
|
template void spdlog::details::fmt_helper::append_string_view(spdlog::string_view_t view, fmt::memory_buffer &dest);
|
|
|
|
|
template spdlog::string_view_t spdlog::details::fmt_helper::to_string_view(const fmt::memory_buffer &buf) SPDLOG_NOEXCEPT;
|
|
|
|
|
|
|
|
|
|
// Slightly modified version of fmt lib's format.cc source file.
|
|
|
|
|
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
|
|
|
// All rights reserved.
|
|
|
|
|