Fixed issues 449

Please check it
This commit is contained in:
Tennn 2017-05-21 17:44:44 +08:00
parent e1d4c4651b
commit f8d509d010
22 changed files with 63 additions and 63 deletions

View File

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

View File

@ -18,7 +18,7 @@
#include <locale>
#endif
#include <spdlog/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)
@ -43,7 +43,7 @@
#endif
#include <spdlog/fmt/fmt.h>
#include "spdlog/fmt/fmt.h"
namespace spdlog
{

View File

@ -12,12 +12,12 @@
#pragma once
#include <spdlog/common.h>
#include <spdlog/sinks/sink.h>
#include <spdlog/details/mpmc_bounded_q.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <spdlog/formatter.h>
#include "spdlog/common.h"
#include "spdlog/sinks/sink.h"
#include "spdlog/details/mpmc_bounded_q.h"
#include "spdlog/details/log_msg.h"
#include "spdlog/details/os.h"
#include "spdlog/formatter.h"
#include <chrono>
#include <exception>

View File

@ -8,8 +8,8 @@
// Async Logger implementation
// Use an async_sink (queue per logger) to perform the logging in a worker thread
#include <spdlog/details/async_log_helper.h>
#include <spdlog/async_logger.h>
#include "spdlog/details/async_log_helper.h"
#include "spdlog/async_logger.h"
#include <string>
#include <functional>

View File

@ -9,8 +9,8 @@
// When failing to open a file, retry several times(5) with small delay between the tries(10 ms)
// Throw spdlog_ex exception on errors
#include <spdlog/details/os.h>
#include <spdlog/details/log_msg.h>
#include "spdlog/details/os.h"
#include "spdlog/details/log_msg.h"
#include <chrono>
#include <cstdio>

View File

@ -5,8 +5,8 @@
#pragma once
#include <spdlog/common.h>
#include <spdlog/details/os.h>
#include "spdlog/common.h"
#include "spdlog/details/os.h"
#include <string>

View File

@ -5,8 +5,8 @@
#pragma once
#include <spdlog/logger.h>
#include <spdlog/sinks/stdout_sinks.h>
#include "spdlog/logger.h"
#include "spdlog/sinks/stdout_sinks.h"
#include <memory>
#include <string>

View File

@ -43,7 +43,7 @@ Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include <spdlog/common.h>
#include "spdlog/common.h"
#include <atomic>
#include <utility>

View File

@ -4,7 +4,7 @@
//
#pragma once
#include <spdlog/common.h>
#include "spdlog/common.h"
#include <cstdio>
#include <ctime>

View File

@ -5,10 +5,10 @@
#pragma once
#include <spdlog/formatter.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <spdlog/fmt/fmt.h>
#include "spdlog/formatter.h"
#include "spdlog/details/log_msg.h"
#include "spdlog/details/os.h"
#include "spdlog/fmt/fmt.h"
#include <chrono>
#include <ctime>

View File

@ -10,10 +10,10 @@
// If user requests a non existing logger, nullptr will be returned
// This class is thread safe
#include <spdlog/details/null_mutex.h>
#include <spdlog/logger.h>
#include <spdlog/async_logger.h>
#include <spdlog/common.h>
#include "spdlog/details/null_mutex.h"
#include "spdlog/logger.h"
#include "spdlog/async_logger.h"
#include "spdlog/common.h"
#include <chrono>
#include <functional>

View File

@ -8,23 +8,23 @@
//
// Global registry functions
//
#include <spdlog/spdlog.h>
#include <spdlog/details/registry.h>
#include <spdlog/sinks/file_sinks.h>
#include <spdlog/sinks/stdout_sinks.h>
#include "spdlog/spdlog.h"
#include "spdlog/details/registry.h"
#include "spdlog/sinks/file_sinks.h"
#include "spdlog/sinks/stdout_sinks.h"
#ifdef SPDLOG_ENABLE_SYSLOG
#include <spdlog/sinks/syslog_sink.h>
#include "spdlog/sinks/syslog_sink.h"
#endif
#ifdef _WIN32
#include <spdlog/sinks/wincolor_sink.h>
#include "spdlog/sinks/wincolor_sink.h"
#else
#include <spdlog/sinks/ansicolor_sink.h>
#include "spdlog/sinks/ansicolor_sink.h"
#endif
#ifdef __ANDROID__
#include <spdlog/sinks/android_sink.h>
#include "spdlog/sinks/android_sink.h"
#endif
#include <chrono>

View File

@ -18,7 +18,7 @@
#ifndef FMT_USE_WINDOWS_H
#define FMT_USE_WINDOWS_H 0
#endif
#include <spdlog/fmt/bundled/format.h>
#include "spdlog/fmt/bundled/format.h"
#else //external fmtlib

View File

@ -8,8 +8,8 @@
// include external or bundled copy of fmtlib's ostream support
//
#if !defined(SPDLOG_FMT_EXTERNAL)
#include <spdlog/fmt/fmt.h>
#include <spdlog/fmt/bundled/ostream.h>
#include "spdlog/fmt/fmt.h"
#include "spdlog/fmt/bundled/ostream.h"
#else
#include <fmt/ostream.h>
#endif

View File

@ -5,7 +5,7 @@
#pragma once
#include <spdlog/details/log_msg.h>
#include "spdlog/details/log_msg.h"
#include <vector>
#include <string>
@ -41,5 +41,5 @@ private:
};
}
#include <spdlog/details/pattern_formatter_impl.h>
#include "spdlog/details/pattern_formatter_impl.h"

View File

@ -12,8 +12,8 @@
// 2. Format the message using the formatter function
// 3. Pass the formatted message to its sinks to performa the actual logging
#include <spdlog/sinks/base_sink.h>
#include <spdlog/common.h>
#include "spdlog/sinks/base_sink.h"
#include "spdlog/common.h"
#include <vector>
#include <memory>
@ -102,4 +102,4 @@ protected:
};
}
#include <spdlog/details/logger_impl.h>
#include "spdlog/details/logger_impl.h"

View File

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

View File

@ -5,10 +5,10 @@
#pragma once
#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/details/file_helper.h>
#include <spdlog/fmt/fmt.h>
#include "spdlog/sinks/base_sink.h"
#include "spdlog/details/null_mutex.h"
#include "spdlog/details/file_helper.h"
#include "spdlog/fmt/fmt.h"
#include <algorithm>
#include <chrono>

View File

@ -6,7 +6,7 @@
#pragma once
#include <spdlog/details/log_msg.h>
#include "spdlog/details/log_msg.h"
namespace spdlog
{

View File

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

View File

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

View File

@ -9,9 +9,9 @@
#define SPDLOG_VERSION "0.13.0"
#include <spdlog/tweakme.h>
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include "spdlog/tweakme.h"
#include "spdlog/common.h"
#include "spdlog/logger.h"
#include <memory>
#include <functional>
@ -175,4 +175,4 @@ void drop_all();
}
#include <spdlog/details/spdlog_impl.h>
#include "spdlog/details/spdlog_impl.h"