35 #ifndef _LogWriter_H__ 36 #define _LogWriter_H__ 65 {
return this->directory_ +
'/' + this->filename_; }
67 inline const std::ofstream&
getFile()
const 68 {
return this->file_; }
81 void archive(
int index = 0);
#define _UtilExport
Definition: UtilPrereqs.h:60
std::string getPath() const
Returns the path to the logfile.
Definition: LogWriter.h:64
::std::string string
Definition: gtest-port.h:756
std::string directory_
The directory where the log-file resided (without file-name)
Definition: LogWriter.h:85
OutputLevel
Output levels define type and importance of an output message.
Definition: OutputDefinitions.h:84
const std::ofstream & getFile() const
Returns the open file stream.
Definition: LogWriter.h:67
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the util library ...
Declaration of the BaseWriter class, the base of all output writers.
BaseWriter is an output listener and makes the accepted output levels and contexts configurable...
Definition: BaseWriter.h:65
std::ofstream file_
The output file stream.
Definition: LogWriter.h:86
The LogWriter class inherits from BaseWriter and writes output to a log-file.
Definition: LogWriter.h:55
std::string filename_
The name of the log-file (without directory)
Definition: LogWriter.h:84