diff --git a/src/async.cpp b/src/async.cpp index f9557a84..106bd71f 100644 --- a/src/async.cpp +++ b/src/async.cpp @@ -5,8 +5,9 @@ #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif -#include "spdlog/async.h" -#include "spdlog/async_logger-inl.h" -#include "spdlog/details/periodic_worker-inl.h" -#include "spdlog/details/thread_pool-inl.h" +#include +#include +#include +#include + template class spdlog::details::mpmc_blocking_queue; \ No newline at end of file diff --git a/src/cfg.cpp b/src/cfg.cpp index ff2224e5..d3fe47f3 100644 --- a/src/cfg.cpp +++ b/src/cfg.cpp @@ -5,4 +5,4 @@ #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif -#include "spdlog/cfg/helpers-inl.h" \ No newline at end of file +#include \ No newline at end of file diff --git a/src/color_sinks.cpp b/src/color_sinks.cpp index 3a335a77..351b6bc7 100644 --- a/src/color_sinks.cpp +++ b/src/color_sinks.cpp @@ -7,13 +7,13 @@ #include -#include "spdlog/details/null_mutex.h" -#include "spdlog/async.h" +#include +#include // // color sinks // #ifdef _WIN32 -#include "spdlog/sinks/wincolor_sink-inl.h" +#include template class spdlog::sinks::wincolor_sink; template class spdlog::sinks::wincolor_sink; template class spdlog::sinks::wincolor_stdout_sink; diff --git a/src/file_sinks.cpp b/src/file_sinks.cpp index bc23f8d5..e17e2296 100644 --- a/src/file_sinks.cpp +++ b/src/file_sinks.cpp @@ -5,14 +5,15 @@ #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif +#include +#include +#include + #include -#include "spdlog/details/null_mutex.h" -#include "spdlog/details/file_helper-inl.h" -#include "spdlog/sinks/basic_file_sink-inl.h" template class spdlog::sinks::basic_file_sink; template class spdlog::sinks::basic_file_sink; -#include "spdlog/sinks/rotating_file_sink-inl.h" +#include template class spdlog::sinks::rotating_file_sink; template class spdlog::sinks::rotating_file_sink; \ No newline at end of file diff --git a/src/fmt.cpp b/src/fmt.cpp index 4ab7f206..c196ab1b 100644 --- a/src/fmt.cpp +++ b/src/fmt.cpp @@ -7,7 +7,7 @@ // All rights reserved. #if !defined(SPDLOG_FMT_EXTERNAL) -#include "spdlog/fmt/bundled/format-inl.h" +#include FMT_BEGIN_NAMESPACE namespace internal { diff --git a/src/spdlog.cpp b/src/spdlog.cpp index ec183c95..3c940a04 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -5,18 +5,18 @@ #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif -#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/details/pattern_formatter-inl.h" -#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" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/stdout_sinks.cpp b/src/stdout_sinks.cpp index 36d6699e..493d3dec 100644 --- a/src/stdout_sinks.cpp +++ b/src/stdout_sinks.cpp @@ -7,9 +7,9 @@ #include -#include "spdlog/details/null_mutex.h" -#include "spdlog/async.h" -#include "spdlog/sinks/stdout_sinks-inl.h" +#include +#include +#include template class spdlog::sinks::stdout_sink_base; template class spdlog::sinks::stdout_sink_base;