Moved pattern formatter from spdlog/details to spdlog/

This commit is contained in:
Gabi Melman 2020-03-21 13:35:04 +02:00
parent 752d5685dc
commit 0d7ff9ac47

View File

@ -255,9 +255,8 @@ void android_example()
#endif #endif
// log patterns can now contain custom flags! // log patterns can contain custom flags.
// add custom flag '%*' which will be cound to a <my_formatter_flag> instance // this will add custom flag '%*' which will be bound to a <my_formatter_flag> instance
#include "spdlog/pattern_formatter.h" #include "spdlog/pattern_formatter.h"
class my_formatter_flag : public spdlog::custom_flag_formatter class my_formatter_flag : public spdlog::custom_flag_formatter
{ {
@ -274,7 +273,6 @@ public:
} }
}; };
void custom_flags_example() void custom_flags_example()
{ {