85 MENGE_API
void close();
90 MENGE_API
void line();
100 MENGE_API
void setFile(
const std::string & fileName );
130 #if defined(_MSC_VER)
234 #endif // __LOGGER_H__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Error encountered and handled.
Definition: Logger.h:68
Sets up the proper compiler directives for platform and dll export/import.
MENGE_API void close()
Closes the logger down.
Definition: Logger.cpp:128
LogType
Classfies interpretation of the subsequent streaming elements.
Definition: Logger.h:65
MENGE_API ~Logger()
Destructor.
Definition: Logger.cpp:122
An html logger - writes messages to a formatted html file.
Definition: Logger.h:59
bool _validFile
Indicates if the output file is valid.
Definition: Logger.h:210
void writeHeader()
Writes the html header information to the given file.
Definition: Logger.cpp:168
std::ofstream _file
The file object for the html to be written to.
Definition: Logger.h:215
void processText(std::string &input)
Process text.
Definition: Logger.cpp:218
Benign information - reports status.
Definition: Logger.h:67
LogType _streamType
The current message type.
Definition: Logger.h:220
Logger logger
Globally available Logger.
Definition: Logger.cpp:49
MENGE_API Logger()
Default constructor.
Definition: Logger.cpp:53
MENGE_API void setFile(const std::string &fileName)
Sets the logger's output file.
Definition: Logger.cpp:155
void writeTail()
Writes the html tail information to the given file.
Definition: Logger.cpp:187
friend MENGE_API Logger & operator<<(Logger &logger, const std::string &msg)
Writes strings to the logger based on current status.
Definition: Logger.cpp:232
Error encountered but not handled.
Definition: Logger.h:69
No interpretation provided.
Definition: Logger.h:66
MENGE_API void line()
Writes a solid line to the logger.
Definition: Logger.cpp:138