- Timestamp:
- Jul 28, 2011, 10:35:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/LogWriter.h
r8787 r8794 34 34 #include <fstream> 35 35 36 #include " OutputListener.h"36 #include "BaseWriter.h" 37 37 38 38 namespace orxonox 39 39 { 40 class _UtilExport LogWriter : public OutputListener40 class _UtilExport LogWriter : public BaseWriter 41 41 { 42 42 public: … … 46 46 47 47 protected: 48 virtual void output(OutputLevel level, OutputContext context, const std::vector<std::string>& lines);48 virtual void printLine(const std::string& line); 49 49 50 50 private: 51 51 LogWriter(); 52 52 LogWriter(const LogWriter&); 53 ~LogWriter();53 virtual ~LogWriter(); 54 54 55 55 void openFile(); 56 56 void closeFile(); 57 58 void printLine(const std::string& line);59 57 60 58 std::string filename_;
Note: See TracChangeset
for help on using the changeset viewer.