Fix troubleshoot not writing everything to file

This commit is contained in:
Jean-Marcel Flach 2015-02-25 11:08:05 +01:00
parent 59b5a2228a
commit dd6691537b

View File

@ -64,6 +64,11 @@ public:
}
}
~InfoLog(void)
{
delete m_Stream;
}
void WriteLine(const LogSeverity sev, const String& str)
{
if (!m_Console)
@ -95,7 +100,7 @@ public:
InfoLogLine(InfoLog& log, LogSeverity sev = LogInformation)
: m_Log(log), m_Sev(sev) {}
~InfoLogLine()
~InfoLogLine(void)
{
m_Log.WriteLine(m_Sev, m_String.str());
}
@ -139,7 +144,7 @@ bool TroubleshootCommand::GeneralInfo(InfoLog& log, const boost::program_options
bool TroubleshootCommand::FeatureInfo(InfoLog& log, const boost::program_options::variables_map& vm)
{
TroubleshootCommand::CheckFeatures(log);
//TODO Check whether active faetures are operational.
//TODO Check whether active features are operational.
return true;
}