Skip to content

Commit

Permalink
Restructure troubleshootcollect, more after the jump
Browse files Browse the repository at this point in the history
Changed `--output-file` to `--output`
Default output file now has a timestamp in the name, no more overwriting
Added Section headers and file markers
Taken time is now measured and output
And some format changes were made

refs #3446
  • Loading branch information
Crunsher committed Feb 19, 2015
1 parent a76f816 commit 1a9c4ce
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 216 deletions.
5 changes: 5 additions & 0 deletions lib/base/logger.cpp
Expand Up @@ -189,6 +189,11 @@ void Logger::DisableConsoleLog(void)
m_ConsoleLogEnabled = false;
}

void Logger::EnableConsoleLog(void)
{
m_ConsoleLogEnabled = false;
}

bool Logger::IsConsoleLogEnabled(void)
{
return m_ConsoleLogEnabled;
Expand Down
1 change: 1 addition & 0 deletions lib/base/logger.hpp
Expand Up @@ -82,6 +82,7 @@ class I2_BASE_API Logger : public ObjectImpl<Logger>
static std::set<Logger::Ptr> GetLoggers(void);

static void DisableConsoleLog(void);
static void EnableConsoleLog(void);
static bool IsConsoleLogEnabled(void);
static void DisableTimestamp(bool);
static bool IsTimestampEnabled(void);
Expand Down

0 comments on commit 1a9c4ce

Please sign in to comment.