Update README.md
This commit is contained in:
		@@ -134,7 +134,7 @@ int main(int, char* [])
 | 
				
			|||||||
        syslog_logger->warn("This is warning that will end up in syslog. This is Linux only!");
 | 
					        syslog_logger->warn("This is warning that will end up in syslog. This is Linux only!");
 | 
				
			||||||
        #endif
 | 
					        #endif
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        //console color example 
 | 
					        //colored console sink example 
 | 
				
			||||||
        auto console_out = spdlog::sinks::stderr_sink_st::instance();
 | 
					        auto console_out = spdlog::sinks::stderr_sink_st::instance();
 | 
				
			||||||
        auto color_sink = std::make_shared<spd::sinks::ansicolor_sink>(console_out);  // wraps around another sink
 | 
					        auto color_sink = std::make_shared<spd::sinks::ansicolor_sink>(console_out);  // wraps around another sink
 | 
				
			||||||
        auto color_logger = spd::details::registry::instance().create("Color", color_sink);
 | 
					        auto color_logger = spd::details::registry::instance().create("Color", color_sink);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user