From 2a98a887c7c593eb700afe3137d884aef59424dd Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Sun, 9 Mar 2014 09:08:39 +0000 Subject: [PATCH] Debug log buffer now flushes after every statement. --- src/gui/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index bec9b213..395b1898 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -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") << "]"