This class implements the ConsoleI interface by writing the console output into a text file.
More...
#include "ConsoleFile.hpp"
This class implements the ConsoleI interface by writing the console output into a text file.
ConsoleFileT::ConsoleFileT |
( |
const std::string & |
FileName | ) |
|
Constructor for creating an instance of a ConsoleFileT.
- Parameters
-
FileName | Path and name of the file that the console output is to be written to. |
void ConsoleFileT::DevPrint |
( |
const std::string & |
s | ) |
|
|
virtual |
void ConsoleFileT::DevWarning |
( |
const std::string & |
s | ) |
|
|
virtual |
void ConsoleFileT::Flush |
( |
| ) |
|
Flushes the buffers so that all contents is immediately written into the file.
void ConsoleFileT::Print |
( |
const std::string & |
s | ) |
|
|
virtual |
void cf::ConsoleFileT::SetAutoFlush |
( |
bool |
AutoFlush | ) |
|
|
inline |
Sets if the console buffer should be auto-flushed after each call to one of the Print() or Warning() methods.
void ConsoleFileT::Warning |
( |
const std::string & |
s | ) |
|
|
virtual |
The documentation for this class was generated from the following files: