Normalized spdlog include paths

This commit is contained in:
gabime 2018-04-29 01:31:09 +03:00
parent d389bda2cc
commit caa26a2a47
18 changed files with 46 additions and 47 deletions

View File

@ -14,9 +14,9 @@
// until all its messages are processed by the thread pool. // 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. // This is because each message in the queue holds a shared_ptr to the originating logger.
#include "async_logger.h" #include "spdlog/async_logger.h"
#include "details/registry.h" #include "spdlog/details/registry.h"
#include "details/thread_pool.h" #include "spdlog/details/thread_pool.h"
#include <memory> #include <memory>
namespace spdlog { namespace spdlog {

View File

@ -15,8 +15,8 @@
// 3. will throw spdlog_ex upon log exceptions // 3. will throw spdlog_ex upon log exceptions
// Upon destruction, logs all remaining messages in the queue before destructing.. // Upon destruction, logs all remaining messages in the queue before destructing..
#include "common.h" #include "spdlog/common.h"
#include "logger.h" #include "spdlog/logger.h"
#include <chrono> #include <chrono>
#include <memory> #include <memory>

View File

@ -7,7 +7,7 @@
#define SPDLOG_VERSION "0.16.4-rc" #define SPDLOG_VERSION "0.16.4-rc"
#include "tweakme.h" #include "spdlog/tweakme.h"
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
@ -23,7 +23,7 @@
#include <locale> #include <locale>
#endif #endif
#include "details/null_mutex.h" #include "spdlog/details/null_mutex.h"
// visual studio upto 2013 does not support noexcept nor constexpr // visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900) #if defined(_MSC_VER) && (_MSC_VER < 1900)

View File

@ -12,9 +12,9 @@
// 2. Format the message using the formatter function // 2. Format the message using the formatter function
// 3. Pass the formatted message to its sinks to performa the actual logging // 3. Pass the formatted message to its sinks to performa the actual logging
#include "common.h" #include "spdlog/common.h"
#include "formatter.h" #include "spdlog/formatter.h"
#include "sinks/sink.h" #include "spdlog/sinks/sink.h"
#include <memory> #include <memory>
#include <string> #include <string>

View File

@ -7,8 +7,8 @@
#if defined(__ANDROID__) #if defined(__ANDROID__)
#include "../details/os.h" #include "spdlog/details/os.h"
#include "sink.h" #include "spdlog/sinks/sink.h"
#include <android/log.h> #include <android/log.h>
#include <chrono> #include <chrono>

View File

@ -5,9 +5,9 @@
#pragma once #pragma once
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "../details/os.h" #include "spdlog/details/os.h"
#include "../details/traits.h" #include "spdlog/details/traits.h"
#include <memory> #include <memory>
#include <mutex> #include <mutex>

View File

@ -10,10 +10,10 @@
// all locking is taken care of here so no locking needed by the implementers.. // all locking is taken care of here so no locking needed by the implementers..
// //
#include "../common.h" #include "spdlog/common.h"
#include "../details/log_msg.h" #include "spdlog/details/log_msg.h"
#include "../formatter.h" #include "spdlog/formatter.h"
#include "sink.h" #include "spdlog/sinks/sink.h"
#include <mutex> #include <mutex>

View File

@ -5,10 +5,9 @@
#pragma once #pragma once
#include "../details/log_msg.h" #include "spdlog/details/log_msg.h"
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "base_sink.h" #include "spdlog/sink/base_sink.h"
#include "sink.h"
#include <algorithm> #include <algorithm>
#include <memory> #include <memory>

View File

@ -7,8 +7,8 @@
#if defined(_WIN32) #if defined(_WIN32)
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "base_sink.h" #include "spdlog/sinks/base_sink.h"
#include <winbase.h> #include <winbase.h>

View File

@ -5,8 +5,8 @@
#pragma once #pragma once
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "base_sink.h" #include "spdlog/sinks/base_sink.h"
#include <mutex> #include <mutex>

View File

@ -5,8 +5,8 @@
#pragma once #pragma once
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "base_sink.h" #include "spdlog/sinks/base_sink.h"
#include <mutex> #include <mutex>
#include <ostream> #include <ostream>

View File

@ -5,7 +5,7 @@
#pragma once #pragma once
#include "../details/log_msg.h" #include "spdlog/details/log_msg.h"
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {

View File

@ -5,11 +5,11 @@
#pragma once #pragma once
#include "../spdlog.h" #include "spdlog/spdlog.h"
#ifdef _WIN32 #ifdef _WIN32
#include "wincolor_sink.h" #include "spdlog/sinks/wincolor_sink.h"
#else #else
#include "ansicolor_sink.h" #include "spdlog/sinks/ansicolor_sink.h"
#endif #endif
namespace { namespace {

View File

@ -5,9 +5,9 @@
#pragma once #pragma once
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "../details/traits.h" #include "spdlog/details/traits.h"
#include "../spdlog.h" #include "spdlog/spdlog.h"
#include <cstdio> #include <cstdio>
#include <memory> #include <memory>

View File

@ -5,10 +5,10 @@
#pragma once #pragma once
#include "../common.h" #include "spdlog/common.h"
#include "../details/log_msg.h" #include "spdlog/details/log_msg.h"
#include "sink.h" #include "spdlog/sinks/sink.h"
#include <array> #include <array>
#include <string> #include <string>

View File

@ -5,10 +5,10 @@
#pragma once #pragma once
#include "../common.h" #include "spdlog/common.h"
#include "../details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include "../details/traits.h" #include "spdlog/details/traits.h"
#include "sink.h" #include "spdlog/sinks/sink.h"
#include <memory> #include <memory>
#include <mutex> #include <mutex>

View File

@ -7,7 +7,7 @@
#if defined(_WIN32) #if defined(_WIN32)
#include "msvc_sink.h" #include "spdlog/sinks/msvc_sink.h"
namespace spdlog { namespace spdlog {
namespace sinks { namespace sinks {

View File

@ -7,9 +7,9 @@
#pragma once #pragma once
#include "common.h" #include "spdlog/common.h"
#include "details/registry.h" #include "spdlog/details/registry.h"
#include "logger.h" #include "spdlog/logger.h"
#include <chrono> #include <chrono>
#include <functional> #include <functional>