Moved pattern formatter from spdlog/details to spdlog/
This commit is contained in:
		@@ -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()
 | 
			
		||||
{    
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user