![]() |
Angel
A 2D Game Prototyping Engine
|
A log which writes to a file on disk. More...
#include <Log.h>
Inheritance diagram for FileLog:Public Member Functions | |
| FileLog (const String &fileName) | |
| virtual void | Log (const String &val) |
Static Public Member Functions | |
| static String | MakeLogFileName (const String &fileName) |
This type of Log appends its text to a specified file in the Logs directory.
| FileLog::FileLog | ( | const String & | fileName | ) |
The constructor takes a filename (which can be generated from FileLog::MakeLogFileName). NB: If the file already exists, it will be cleared. The file will get a timestamp at the top saying when it was first opened.
| fileName |
| String FileLog::MakeLogFileName | ( | const String & | fileName | ) | [static] |
| void FileLog::Log | ( | const String & | val | ) | [virtual] |
The string to be logged in the file.
| val | The string to put in the file |
Implements DeveloperLog.


1.7.5.1