adapted for project

This commit is contained in:
doctashay 2020-10-02 14:02:05 -06:00
parent a68e5cdc51
commit 5095197b3b
29 changed files with 76 additions and 76 deletions

View File

@ -3,8 +3,8 @@
#pragma once
#include <spdlog/tweakme.h>
#include <spdlog/details/null_mutex.h>
#include <third-party/spdlog/include/spdlog/tweakme.h>
#include <third-party/spdlog/include/spdlog/details/null_mutex.h>
#include <atomic>
#include <chrono>
@ -33,7 +33,7 @@
#define SPDLOG_INLINE inline
#endif // #ifdef SPDLOG_COMPILED_LIB
#include <spdlog/fmt/fmt.h>
#include <third-party/spdlog/include/spdlog/fmt/fmt.h>
// visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900)

View File

@ -3,8 +3,8 @@
#pragma once
#include <spdlog/details/log_msg_buffer.h>
#include <spdlog/details/circular_q.h>
#include <third-party/spdlog/include/spdlog/details/log_msg_buffer.h>
#include <third-party/spdlog/include/spdlog/details/circular_q.h>
#include <atomic>
#include <mutex>

View File

@ -3,7 +3,7 @@
#pragma once
#include <spdlog/details/null_mutex.h>
#include <third-party/spdlog/include/spdlog/details/null_mutex.h>
#include <mutex>
namespace spdlog {

View File

@ -7,8 +7,8 @@
#include <spdlog/details/file_helper.h>
#endif
#include <spdlog/details/os.h>
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <cerrno>
#include <chrono>

View File

@ -3,7 +3,7 @@
#pragma once
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <tuple>
namespace spdlog {

View File

@ -4,8 +4,8 @@
#include <chrono>
#include <type_traits>
#include <spdlog/fmt/fmt.h>
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/fmt/fmt.h>
#include <third-party/spdlog/include/spdlog/common.h>
// Some fmt helpers to efficiently format and pad ints and strings
namespace spdlog {

View File

@ -4,10 +4,10 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#endif
#include <spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
namespace spdlog {
namespace details {

View File

@ -3,7 +3,7 @@
#pragma once
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <string>
namespace spdlog {

View File

@ -3,7 +3,7 @@
#pragma once
#include <spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
namespace spdlog {
namespace details {

View File

@ -4,10 +4,10 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
#endif
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <algorithm>
#include <chrono>
@ -25,7 +25,7 @@
#include <io.h> // _get_osfhandle and _isatty support
#include <process.h> // _get_pid support
#include <spdlog/details/windows_include.h>
#include <third-party/spdlog/include/spdlog/details/windows_include.h>
#ifdef __MINGW32__
#include <share.h>

View File

@ -3,7 +3,7 @@
#pragma once
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <ctime> // std::time_t
namespace spdlog {

View File

@ -7,15 +7,15 @@
#include <spdlog/details/registry.h>
#endif
#include <spdlog/common.h>
#include <spdlog/details/periodic_worker.h>
#include <spdlog/logger.h>
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/periodic_worker.h>
#include <third-party/spdlog/include/spdlog/logger.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER
// support for the default stdout color logger
#ifdef _WIN32
#include <spdlog/sinks/wincolor_sink.h>
#include <third-party/spdlog/include/spdlog/sinks/wincolor_sink.h>
#else
#include <spdlog/sinks/ansicolor_sink.h>
#endif

View File

@ -8,7 +8,7 @@
// If user requests a non existing logger, nullptr will be returned
// This class is thread safe
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <chrono>
#include <functional>

View File

@ -19,8 +19,8 @@
#endif
// enable the 'n' flag in for backward compatibility with fmt 6.x
#define FMT_DEPRECATED_N_SPECIFIER
#include <spdlog/fmt/bundled/core.h>
#include <spdlog/fmt/bundled/format.h>
#include <third-party/spdlog/include/spdlog/fmt/bundled/core.h>
#include <third-party/spdlog/include/spdlog/fmt/bundled/format.h>
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h>
#include <fmt/format.h>

View File

@ -3,8 +3,8 @@
#pragma once
#include <spdlog/fmt/fmt.h>
#include <spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/fmt/fmt.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
namespace spdlog {

View File

@ -4,12 +4,12 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/logger.h>
#include <third-party/spdlog/include/spdlog/logger.h>
#endif
#include <spdlog/sinks/sink.h>
#include <spdlog/details/backtracer.h>
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/sinks/sink.h>
#include <third-party/spdlog/include/spdlog/details/backtracer.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
#include <cstdio>

View File

@ -14,9 +14,9 @@
// The use of private formatter per sink provides the opportunity to cache some
// formatted data, and support for different format per sink.
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/backtracer.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/details/backtracer.h>
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <spdlog/details/os.h>

View File

@ -4,14 +4,14 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
#endif
#include <spdlog/details/fmt_helper.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <spdlog/fmt/fmt.h>
#include <spdlog/formatter.h>
#include <third-party/spdlog/include/spdlog/details/fmt_helper.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/fmt/fmt.h>
#include <third-party/spdlog/include/spdlog/formatter.h>
#include <array>
#include <chrono>

View File

@ -3,10 +3,10 @@
#pragma once
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <spdlog/formatter.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/formatter.h>
#include <chrono>
#include <ctime>

View File

@ -7,8 +7,8 @@
#include <spdlog/sinks/base_sink.h>
#endif
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
#include <memory>

View File

@ -9,9 +9,9 @@
// implementers..
//
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/sinks/sink.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/sinks/sink.h>
namespace spdlog {
namespace sinks {

View File

@ -7,8 +7,8 @@
#include <spdlog/sinks/basic_file_sink.h>
#endif
#include <spdlog/common.h>
#include <spdlog/details/os.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/os.h>
namespace spdlog {
namespace sinks {

View File

@ -3,10 +3,10 @@
#pragma once
#include <spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/synchronous_factory.h>
#include <third-party/spdlog/include/spdlog/details/file_helper.h>
#include <third-party/spdlog/include/spdlog/details/null_mutex.h>
#include <third-party/spdlog/include/spdlog/sinks/base_sink.h>
#include <third-party/spdlog/include/spdlog/details/synchronous_factory.h>
#include <mutex>
#include <string>

View File

@ -4,10 +4,10 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/sink.h>
#include <third-party/spdlog/include/spdlog/sinks/sink.h>
#endif
#include <spdlog/common.h>
#include <third-party/spdlog/include/spdlog/common.h>
SPDLOG_INLINE bool spdlog::sinks::sink::should_log(spdlog::level::level_enum msg_level) const
{

View File

@ -3,8 +3,8 @@
#pragma once
#include <spdlog/details/log_msg.h>
#include <spdlog/formatter.h>
#include <third-party/spdlog/include/spdlog/details/log_msg.h>
#include <third-party/spdlog/include/spdlog/formatter.h>
namespace spdlog {

View File

@ -4,11 +4,11 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/sinks/wincolor_sink.h>
#include <third-party/spdlog/include/spdlog/sinks/wincolor_sink.h>
#endif
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
namespace spdlog {
namespace sinks {

View File

@ -3,17 +3,17 @@
#pragma once
#include <spdlog/common.h>
#include <spdlog/details/console_globals.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/sinks/sink.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/details/console_globals.h>
#include <third-party/spdlog/include/spdlog/details/null_mutex.h>
#include <third-party/spdlog/include/spdlog/sinks/sink.h>
#include <memory>
#include <mutex>
#include <string>
#include <array>
#include <spdlog/details/windows_include.h>
#include <third-party/spdlog/include/spdlog/details/windows_include.h>
#include <wincon.h>
namespace spdlog {

View File

@ -7,8 +7,8 @@
#include <spdlog/spdlog.h>
#endif
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
#include <third-party/spdlog/include/spdlog/common.h>
#include <third-party/spdlog/include/spdlog/pattern_formatter.h>
namespace spdlog {

View File

@ -9,11 +9,11 @@
#pragma once
#include <spdlog/common.h>
#include <spdlog/details/registry.h>
#include <spdlog/logger.h>
#include <spdlog/version.h>
#include <spdlog/details/synchronous_factory.h>
#include <third-party/spdlog/include/spdlog/spdlog.h>
#include <third-party/spdlog/include/spdlog/details/registry.h>
#include <third-party/spdlog/include/spdlog/logger.h>
#include <third-party/spdlog/include/spdlog/version.h>
#include <third-party/spdlog/include/spdlog/details/synchronous_factory.h>
#include <chrono>
#include <functional>