The LoggingConsoleObserver class This class is used by the main modules to write Console messages and logs to a file. More...
#include <Console.h>
Public Member Functions | |
ConsoleObserverFile (const char *sFileName) | |
virtual void | Error (const char *sErr) |
get calles when a Error is issued | |
virtual void | Log (const char *sLog) |
get calles when a Log Message is issued | |
virtual void | Message (const char *sMsg) |
get calles when a Message is issued | |
const char * | Name (void) |
virtual void | Warning (const char *sWarn) |
get calles when a Warning is issued | |
virtual | ~ConsoleObserverFile () |
Protected Attributes | |
Base::ofstream | cFileStream |
The LoggingConsoleObserver class This class is used by the main modules to write Console messages and logs to a file.
Definition at line 199 of file Console.h.
ConsoleObserverFile::ConsoleObserverFile | ( | const char * | sFileName | ) |
Definition at line 564 of file Console.cpp.
References cFileStream, Base::Console(), and Base::ConsoleSingleton::Warning().
ConsoleObserverFile::~ConsoleObserverFile | ( | ) | [virtual] |
Definition at line 574 of file Console.cpp.
References cFileStream.
void ConsoleObserverFile::Error | ( | const char * | ) | [virtual] |
get calles when a Error is issued
Implements Base::ConsoleObserver.
Definition at line 591 of file Console.cpp.
References cFileStream.
void ConsoleObserverFile::Log | ( | const char * | ) | [virtual] |
get calles when a Log Message is issued
Reimplemented from Base::ConsoleObserver.
Definition at line 597 of file Console.cpp.
References cFileStream.
void ConsoleObserverFile::Message | ( | const char * | ) | [virtual] |
get calles when a Message is issued
Reimplemented from Base::ConsoleObserver.
Definition at line 585 of file Console.cpp.
References cFileStream.
const char* Base::ConsoleObserverFile::Name | ( | void | ) | [inline, virtual] |
Reimplemented from Base::ConsoleObserver.
void ConsoleObserverFile::Warning | ( | const char * | ) | [virtual] |
get calles when a Warning is issued
Reimplemented from Base::ConsoleObserver.
Definition at line 579 of file Console.cpp.
References cFileStream.
Base::ofstream Base::ConsoleObserverFile::cFileStream [protected] |
Definition at line 211 of file Console.h.
Referenced by ConsoleObserverFile(), Error(), Log(), Message(), Warning(), and ~ConsoleObserverFile().