Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file. More...
#include <Log.hpp>
Public Member Functions | |
| void | setLogFile (const String &file) |
| const String & | logFile () const |
Protected Member Functions | |
| virtual void | printImplementation (ELogLevel level, const String &message) |
Protected Attributes | |
| String | mLogFile |
| std::ofstream | mFile |
The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file.
| void StandardLog::setLogFile | ( | const String & | file | ) |
Definition at line 267 of file Log.cpp.
References vl::String::empty(), mFile, mLogFile, and vl::String::toStdString().
| void StandardLog::printImplementation | ( | ELogLevel | level, |
| const String & | message | ||
| ) | [protected, virtual] |
Implements vl::Log.
Definition at line 278 of file Log.cpp.
References vl::String::empty(), mFile, and vl::String::toStdString().
String vl::StandardLog::mLogFile [protected] |
Definition at line 241 of file Log.hpp.
Referenced by setLogFile().
std::ofstream vl::StandardLog::mFile [protected] |
Definition at line 242 of file Log.hpp.
Referenced by printImplementation(), and setLogFile().