#include <LogSingle.h>
Inheritance diagram for Propane::Log:

Public Member Functions | |
| Log () | |
| virtual | ~Log () |
| Basic destructor, closes any open file handles. | |
| void | openLog (const std::string &logFile) |
| void | error (const std::string &message) |
| void | normalLog (const std::string &message) |
| void | warning (const std::string &message) |
| Log & | operator<< (std::ostream &(*func)(std::ostream &)) |
| template<class T> | |
| Log & | operator<< (T val) |
|
|
Basic constructor, opens a log file named "log.html" in the current directory. |
|
|
Writes red text to the log.
|
|
|
Writes normal text to the log
|
|
|
Opens a log file with the intent to append to it. Writes the "Log begins at..." text to it.
|
|
||||||||||
|
Writes text into the log file using a stream operator, creating a newline for each std::endl.
|
|
|
Stream operator that just takes in an ostream control character and replaces it with a line break.
|
|
|
Writes warning (green) text to the log
|
1.4.6