Write log file in mangoapp

This was only writing the summary, which is rather useless.
pull/673/head
Joshua Ashton 2 years ago
parent 3e2023a4a2
commit f462c7ff76

@ -185,7 +185,9 @@ void Logger::stop_logging() {
} else {
#ifdef MANGOAPP
string path = std::getenv("HOME");
writeSummary(path + "/mangoapp_" + get_log_suffix());
std::string logName = path + "/mangoapp_" + get_log_suffix();
writeSummary(logName);
writeFile(logName);
#endif
}
logger->clear_log_data();

Loading…
Cancel
Save