spdlog/src/spdlog.cpp

27 lines
1.0 KiB
C++
Raw Normal View History

2019-06-04 05:09:16 +08:00
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
2019-05-12 01:06:17 +08:00
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#ifndef SPDLOG_COMPILED_LIB
2021-07-19 05:50:51 +08:00
# error Please define SPDLOG_COMPILED_LIB to compile this file.
#endif
2019-05-12 01:06:17 +08:00
2020-03-06 21:51:07 +08:00
#include <spdlog/spdlog-inl.h>
#include <spdlog/common-inl.h>
#include <spdlog/details/backtracer-inl.h>
#include <spdlog/details/registry-inl.h>
#include <spdlog/details/os-inl.h>
#include <spdlog/pattern_formatter-inl.h>
2020-03-06 21:51:07 +08:00
#include <spdlog/details/log_msg-inl.h>
#include <spdlog/details/log_msg_buffer-inl.h>
#include <spdlog/logger-inl.h>
#include <spdlog/sinks/sink-inl.h>
#include <spdlog/sinks/base_sink-inl.h>
#include <spdlog/details/null_mutex.h>
2019-09-20 06:28:02 +08:00
#include <mutex>
2019-09-19 17:06:53 +08:00
// template instantiate logger constructor with sinks init list
2020-03-10 03:02:16 +08:00
template SPDLOG_API spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end);
template class SPDLOG_API spdlog::sinks::base_sink<std::mutex>;
2021-05-30 20:02:56 +08:00
template class SPDLOG_API spdlog::sinks::base_sink<spdlog::details::null_mutex>;