Win32 implementation of IArchLog. More...
#include <CArchLogWindows.h>
Inherits IArchLog.
Public Member Functions | |
virtual void | openLog (const char *name) |
Open the log. | |
virtual void | closeLog () |
virtual void | showLog (bool showIfEmpty) |
Show the log. | |
virtual void | writeLog (ELevel, const char *) |
Write to the log. |
Win32 implementation of IArchLog.
Definition at line 26 of file CArchLogWindows.h.
void CArchLogWindows::closeLog | ( | ) | [virtual] |
void CArchLogWindows::openLog | ( | const char * | name | ) | [virtual] |
Open the log.
Opens the log for writing. The log must be opened before being written to.
Implements IArchLog.
Definition at line 34 of file CArchLogWindows.cpp.
References CArchMiscWindows::isWindows95Family().
void CArchLogWindows::showLog | ( | bool | showIfEmpty | ) | [virtual] |
Show the log.
Causes the log to become visible. This generally only makes sense for a log in a graphical user interface. Other implementations will do nothing. Iff showIfEmpty
is false
then the implementation may optionally only show the log if it's not empty.
Implements IArchLog.
Definition at line 51 of file CArchLogWindows.cpp.
void CArchLogWindows::writeLog | ( | ELevel | , | |
const char * | ||||
) | [virtual] |
Write to the log.
Writes the given string to the log with the given level.
Implements IArchLog.
Definition at line 57 of file CArchLogWindows.cpp.
References IArchLog::kERROR, and IArchLog::kWARNING.