Debug log buffer now flushes after every statement.

This commit is contained in:
WrinklyNinja
2014-03-09 09:08:39 +00:00
parent ab4d558502
commit 2a98a887c7
+1
View File
@@ -219,6 +219,7 @@ bool LOOT::OnInit() {
//Set up logging.
boost::log::add_file_log(
boost::log::keywords::file_name = g_path_log.string().c_str(),
boost::log::keywords::auto_flush = true,
boost::log::keywords::format = (
boost::log::expressions::stream
<< "[" << boost::log::expressions::format_date_time< boost::posix_time::ptime >("TimeStamp", "%H:%M:%S") << "]"