Changeset 6015 for code/branches/console/src/libraries/util/OutputHandler.h
- Timestamp:
- Nov 2, 2009, 5:54:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/libraries/util/OutputHandler.h
r6004 r6015 74 74 // Forward declarations for classes in the source file 75 75 class LogFileWriter; 76 class ConsoleWriter; 76 77 class MemoryLogWriter; 77 78 … … 129 130 //! Set the log path once the program has been properly initialised 130 131 void setLogPath(const std::string& path); 132 //! Disables the std::cout stream for output 133 void disableCout(); 134 //! Enables the std::cout stream for output (startup behaviour) 135 void enableCout(); 131 136 132 137 //! Sets the level of the incoming output and returns the OutputHandler … … 210 215 OutputHandler(const OutputHandler& rhs); //! Unused and undefined 211 216 212 std::list<OutputListener*> listeners_; //!< Array with all registered output listeners 213 int outputLevel_; //!< The level of the incoming output 214 LogFileWriter* logFile_; //!< Listener that writes to the log file 215 MemoryLogWriter* output_; //!< Listener that Stores ALL output below the current soft debug level 216 static int softDebugLevel_s; //!< Maximum of all soft debug levels. @note This is only static for faster access 217 std::list<OutputListener*> listeners_; //!< Array with all registered output listeners 218 int outputLevel_; //!< The level of the incoming output 219 LogFileWriter* logFile_; //!< Listener that writes to the log file 220 ConsoleWriter* consoleWriter_; //!< Listener for std::cout (just program beginning) 221 MemoryLogWriter* output_; //!< Listener that Stores ALL output below the current soft debug level 222 static int softDebugLevel_s; //!< Maximum of all soft debug levels. @note This is only static for faster access 217 223 }; 218 224
Note: See TracChangeset
for help on using the changeset viewer.