mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Normalized spdlog include paths
This commit is contained in:
parent
d389bda2cc
commit
caa26a2a47
@ -14,9 +14,9 @@
|
||||
// until all its messages are processed by the thread pool.
|
||||
// This is because each message in the queue holds a shared_ptr to the originating logger.
|
||||
|
||||
#include "async_logger.h"
|
||||
#include "details/registry.h"
|
||||
#include "details/thread_pool.h"
|
||||
#include "spdlog/async_logger.h"
|
||||
#include "spdlog/details/registry.h"
|
||||
#include "spdlog/details/thread_pool.h"
|
||||
|
||||
#include <memory>
|
||||
namespace spdlog {
|
||||
|
@ -15,8 +15,8 @@
|
||||
// 3. will throw spdlog_ex upon log exceptions
|
||||
// Upon destruction, logs all remaining messages in the queue before destructing..
|
||||
|
||||
#include "common.h"
|
||||
#include "logger.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/logger.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#define SPDLOG_VERSION "0.16.4-rc"
|
||||
|
||||
#include "tweakme.h"
|
||||
#include "spdlog/tweakme.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
#endif
|
||||
|
||||
#include "details/null_mutex.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
|
||||
// visual studio upto 2013 does not support noexcept nor constexpr
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
|
@ -12,9 +12,9 @@
|
||||
// 2. Format the message using the formatter function
|
||||
// 3. Pass the formatted message to its sinks to performa the actual logging
|
||||
|
||||
#include "common.h"
|
||||
#include "formatter.h"
|
||||
#include "sinks/sink.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/formatter.h"
|
||||
#include "spdlog/sinks/sink.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
|
||||
#include "../details/os.h"
|
||||
#include "sink.h"
|
||||
#include "spdlog/details/os.h"
|
||||
#include "spdlog/sinks/sink.h"
|
||||
|
||||
#include <android/log.h>
|
||||
#include <chrono>
|
||||
|
@ -5,9 +5,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/null_mutex.h"
|
||||
#include "../details/os.h"
|
||||
#include "../details/traits.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/details/os.h"
|
||||
#include "spdlog/details/traits.h"
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
@ -10,10 +10,10 @@
|
||||
// all locking is taken care of here so no locking needed by the implementers..
|
||||
//
|
||||
|
||||
#include "../common.h"
|
||||
#include "../details/log_msg.h"
|
||||
#include "../formatter.h"
|
||||
#include "sink.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/log_msg.h"
|
||||
#include "spdlog/formatter.h"
|
||||
#include "spdlog/sinks/sink.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
|
@ -5,10 +5,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/log_msg.h"
|
||||
#include "../details/null_mutex.h"
|
||||
#include "base_sink.h"
|
||||
#include "sink.h"
|
||||
#include "spdlog/details/log_msg.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/sink/base_sink.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
#include "../details/null_mutex.h"
|
||||
#include "base_sink.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/sinks/base_sink.h"
|
||||
|
||||
#include <winbase.h>
|
||||
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/null_mutex.h"
|
||||
#include "base_sink.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/sinks/base_sink.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/null_mutex.h"
|
||||
#include "base_sink.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/sinks/base_sink.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <ostream>
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/log_msg.h"
|
||||
#include "spdlog/details/log_msg.h"
|
||||
|
||||
namespace spdlog {
|
||||
namespace sinks {
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../spdlog.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#ifdef _WIN32
|
||||
#include "wincolor_sink.h"
|
||||
#include "spdlog/sinks/wincolor_sink.h"
|
||||
#else
|
||||
#include "ansicolor_sink.h"
|
||||
#include "spdlog/sinks/ansicolor_sink.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
@ -5,9 +5,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../details/null_mutex.h"
|
||||
#include "../details/traits.h"
|
||||
#include "../spdlog.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/details/traits.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <memory>
|
||||
|
@ -5,10 +5,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "spdlog/common.h"
|
||||
|
||||
#include "../details/log_msg.h"
|
||||
#include "sink.h"
|
||||
#include "spdlog/details/log_msg.h"
|
||||
#include "spdlog/sinks/sink.h"
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
@ -5,10 +5,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "../details/null_mutex.h"
|
||||
#include "../details/traits.h"
|
||||
#include "sink.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include "spdlog/details/traits.h"
|
||||
#include "spdlog/sinks/sink.h"
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
#include "msvc_sink.h"
|
||||
#include "spdlog/sinks/msvc_sink.h"
|
||||
|
||||
namespace spdlog {
|
||||
namespace sinks {
|
||||
|
@ -7,9 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common.h"
|
||||
#include "details/registry.h"
|
||||
#include "logger.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/registry.h"
|
||||
#include "spdlog/logger.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
|
Loading…
Reference in New Issue
Block a user