#include <GteLogger.h>
Public Types | |
enum | { LISTEN_FOR_NOTHING = 0x00000000, LISTEN_FOR_ASSERTION = 0x00000001, LISTEN_FOR_ERROR = 0x00000002, LISTEN_FOR_WARNING = 0x00000004, LISTEN_FOR_INFORMATION = 0x00000008, LISTEN_FOR_ALL = 0xFFFFFFFF } |
Public Member Functions | |
void | Assertion (std::string const &message) |
void | Error (std::string const &message) |
int | GetFlags () const |
void | Information (std::string const &message) |
Listener (int flags=LISTEN_FOR_NOTHING) | |
void | Warning (std::string const &message) |
virtual | ~Listener () |
Private Member Functions | |
virtual void | Report (std::string const &message) |
Private Attributes | |
int | mFlags |
Definition at line 39 of file GteLogger.h.
anonymous enum |
Enumerator | |
---|---|
LISTEN_FOR_NOTHING | |
LISTEN_FOR_ASSERTION | |
LISTEN_FOR_ERROR | |
LISTEN_FOR_WARNING | |
LISTEN_FOR_INFORMATION | |
LISTEN_FOR_ALL |
Definition at line 42 of file GteLogger.h.
|
virtual |
Definition at line 93 of file GteLogger.cpp.
Logger::Listener::Listener | ( | int | flags = LISTEN_FOR_NOTHING | ) |
Definition at line 97 of file GteLogger.cpp.
void Logger::Listener::Assertion | ( | std::string const & | message | ) |
Definition at line 108 of file GteLogger.cpp.
void Logger::Listener::Error | ( | std::string const & | message | ) |
Definition at line 113 of file GteLogger.cpp.
int Logger::Listener::GetFlags | ( | ) | const |
Definition at line 103 of file GteLogger.cpp.
void Logger::Listener::Information | ( | std::string const & | message | ) |
Definition at line 123 of file GteLogger.cpp.
|
privatevirtual |
Reimplemented in gte::LogToStringArray, gte::LogToFile, gte::LogToStdout, gte::LogToMessageBox, and gte::LogToOutputWindow.
Definition at line 128 of file GteLogger.cpp.
void Logger::Listener::Warning | ( | std::string const & | message | ) |
Definition at line 118 of file GteLogger.cpp.
|
private |
Definition at line 68 of file GteLogger.h.