Fixed issue #449
This commit is contained in:
parent
c6ad598af9
commit
13fb2550c6
@ -143,7 +143,7 @@ struct my_type
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <spdlog/fmt/ostr.h> // must be included
|
#include "spdlog/fmt/ostr.h" // must be included
|
||||||
void user_defined_example()
|
void user_defined_example()
|
||||||
{
|
{
|
||||||
spd::get("console")->info("user defined type: {}", my_type { 14 });
|
spd::get("console")->info("user defined type: {}", my_type { 14 });
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
|
|
||||||
#include <spdlog/sinks/sink.h>
|
#include "spdlog/sinks/sink.h"
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <spdlog/sinks/base_sink.h>
|
#include "spdlog/sinks/base_sink.h"
|
||||||
#include <spdlog/common.h>
|
#include "spdlog/common.h"
|
||||||
#include <spdlog/details/os.h>
|
#include "spdlog/details/os.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <spdlog/details/log_msg.h>
|
#include "spdlog/details/log_msg.h"
|
||||||
#include <spdlog/details/null_mutex.h>
|
#include "spdlog/details/null_mutex.h"
|
||||||
#include <spdlog/sinks/base_sink.h>
|
#include "spdlog/sinks/base_sink.h"
|
||||||
#include <spdlog/sinks/sink.h>
|
#include "spdlog/sinks/sink.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
#include <spdlog/sinks/base_sink.h>
|
#include "spdlog/sinks/base_sink.h"
|
||||||
#include <spdlog/details/null_mutex.h>
|
#include "spdlog/details/null_mutex.h"
|
||||||
|
|
||||||
#include <WinBase.h>
|
#include <WinBase.h>
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <spdlog/sinks/base_sink.h>
|
#include "spdlog/sinks/base_sink.h"
|
||||||
#include <spdlog/details/null_mutex.h>
|
#include "spdlog/details/null_mutex.h"
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <spdlog/details/null_mutex.h>
|
#include "spdlog/details/null_mutex.h"
|
||||||
#include <spdlog/sinks/base_sink.h>
|
#include "spdlog/sinks/base_sink.h"
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <spdlog/common.h>
|
#include "spdlog/common.h"
|
||||||
|
|
||||||
#ifdef SPDLOG_ENABLE_SYSLOG
|
#ifdef SPDLOG_ENABLE_SYSLOG
|
||||||
|
|
||||||
#include <spdlog/sinks/sink.h>
|
#include "spdlog/sinks/sink.h"
|
||||||
#include <spdlog/details/log_msg.h>
|
#include "spdlog/details/log_msg.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
Loading…
Reference in New Issue
Block a user