7 #ifndef CAFU_CONSOLE_FILE_HPP_INCLUDED
8 #define CAFU_CONSOLE_FILE_HPP_INCLUDED
10 #include "Console.hpp"
33 void Print(
const std::string& s);
35 void Warning(
const std::string& s);
This class implements the ConsoleI interface by writing the console output into a text file...
Definition: ConsoleFile.hpp:18
void Print(const std::string &s)
Print message to console.
Definition: ConsoleFile.cpp:26
void DevPrint(const std::string &s)
Print dev message to console.
Definition: ConsoleFile.cpp:33
void DevWarning(const std::string &s)
Print dev warning to console.
Definition: ConsoleFile.cpp:47
void SetAutoFlush(bool AutoFlush)
Sets if the console buffer should be auto-flushed after each call to one of the Print() or Warning() ...
Definition: ConsoleFile.hpp:27
This class is an interface to the application console.
Definition: Console.hpp:18
ConsoleFileT(const std::string &FileName)
Constructor for creating an instance of a ConsoleFileT.
Definition: ConsoleFile.cpp:13
void Warning(const std::string &s)
Print warning to console.
Definition: ConsoleFile.cpp:40
void Flush()
Flushes the buffers so that all contents is immediately written into the file.
Definition: ConsoleFile.cpp:20