예제 #1
0
파일: log.hpp 프로젝트: sunny975/wesnoth
	scope_logger(log_domain const &domain, const char* str) :
		ticks_(0),
		output_(NULL),
		str_()
	{
		if (!debug().dont_log(domain)) do_log_entry(domain, str);
	}
예제 #2
0
파일: log.hpp 프로젝트: oys0317/opensanguo
	scope_logger(log_domain const &domain, const std::string& str) :
		ticks_(0),
		output_(0),
		str_()
	{
		if (!debug.dont_log(domain)) do_log_entry(domain, str);
	}
예제 #3
0
	scope_logger(log_domain const &domain, const std::string& str) :
		output_(nullptr)
	{
		if (!debug().dont_log(domain)) do_log_entry(domain, str);
	}