mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Moved pattern formatter from spdlog/details to spdlog/
This commit is contained in:
parent
752d5685dc
commit
0d7ff9ac47
@ -255,9 +255,8 @@ void android_example()
|
||||
#endif
|
||||
|
||||
|
||||
// log patterns can now contain custom flags!
|
||||
// add custom flag '%*' which will be cound to a <my_formatter_flag> instance
|
||||
|
||||
// log patterns can contain custom flags.
|
||||
// this will add custom flag '%*' which will be bound to a <my_formatter_flag> instance
|
||||
#include "spdlog/pattern_formatter.h"
|
||||
class my_formatter_flag : public spdlog::custom_flag_formatter
|
||||
{
|
||||
@ -274,7 +273,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
void custom_flags_example()
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user