Dont allow including of dup_filter_sink if SPDLOG_NO_DATETIME is defined
This commit is contained in:
parent
ee87aee4dd
commit
717a582085
@ -33,6 +33,11 @@
|
|||||||
// [2019-06-25 17:50:56.512] [logger] [info] Skipped 3 duplicate messages..
|
// [2019-06-25 17:50:56.512] [logger] [info] Skipped 3 duplicate messages..
|
||||||
// [2019-06-25 17:50:56.512] [logger] [info] Different Hello
|
// [2019-06-25 17:50:56.512] [logger] [info] Different Hello
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef SPDLOG_NO_DATETIME
|
||||||
|
#error "spdlog::sinks::dup_filter_sink: cannot work when SPDLOG_NO_DATETIME is defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
namespace sinks {
|
namespace sinks {
|
||||||
template<typename Mutex>
|
template<typename Mutex>
|
||||||
|
Loading…
Reference in New Issue
Block a user