clang format
This commit is contained in:
		
							parent
							
								
									af6b3fe599
								
							
						
					
					
						commit
						01e05a4495
					
				@ -66,7 +66,6 @@ int main(int argc, char *argv[])
 | 
				
			|||||||
        if (argc > 4)
 | 
					        if (argc > 4)
 | 
				
			||||||
            iters = atoi(argv[4]);
 | 
					            iters = atoi(argv[4]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
        console->info("-------------------------------------------------");
 | 
					        console->info("-------------------------------------------------");
 | 
				
			||||||
        console->info("Messages: {:14n}", howmany);
 | 
					        console->info("Messages: {:14n}", howmany);
 | 
				
			||||||
        console->info("Threads : {:14n}", threads);
 | 
					        console->info("Threads : {:14n}", threads);
 | 
				
			||||||
 | 
				
			|||||||
@ -117,13 +117,15 @@ using daily_file_sink_st = daily_file_sink<details::null_mutex>;
 | 
				
			|||||||
// factory functions
 | 
					// factory functions
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
template<typename Factory = default_factory>
 | 
					template<typename Factory = default_factory>
 | 
				
			||||||
inline std::shared_ptr<logger> daily_logger_mt(const std::string &logger_name, const filename_t &filename, int hour = 0, int minute = 0, bool truncate = false)
 | 
					inline std::shared_ptr<logger> daily_logger_mt(
 | 
				
			||||||
 | 
					    const std::string &logger_name, const filename_t &filename, int hour = 0, int minute = 0, bool truncate = false)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return Factory::template create<sinks::daily_file_sink_mt>(logger_name, filename, hour, minute, truncate);
 | 
					    return Factory::template create<sinks::daily_file_sink_mt>(logger_name, filename, hour, minute, truncate);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
template<typename Factory = default_factory>
 | 
					template<typename Factory = default_factory>
 | 
				
			||||||
inline std::shared_ptr<logger> daily_logger_st(const std::string &logger_name, const filename_t &filename, int hour = 0, int minute = 0, bool truncate = false)
 | 
					inline std::shared_ptr<logger> daily_logger_st(
 | 
				
			||||||
 | 
					    const std::string &logger_name, const filename_t &filename, int hour = 0, int minute = 0, bool truncate = false)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return Factory::template create<sinks::daily_file_sink_st>(logger_name, filename, hour, minute, truncate);
 | 
					    return Factory::template create<sinks::daily_file_sink_st>(logger_name, filename, hour, minute, truncate);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user