#include <IArchLog.h>
Inherits IInterface.
Inherited by CArch, CArchLogUnix, and CArchLogWindows.
Inheritance diagram for IArchLog:
Public Types | |
enum | ELevel { kERROR, kWARNING, kNOTE, kINFO, kDEBUG } |
Log levels. More... | |
Public Member Functions | |
manipulators | |
virtual void | openLog (const char *name)=0 |
Open the log. | |
virtual void | closeLog ()=0 |
Close the log. | |
virtual void | showLog (bool showIfEmpty)=0 |
Show the log. | |
virtual void | writeLog (ELevel, const char *)=0 |
Write to the log. |
This interface defines the logging operations required by synergy. Each architecture must implement this interface.
Definition at line 25 of file IArchLog.h.
|
Log levels. The logging priority levels in order of highest to lowest priority.
Definition at line 31 of file IArchLog.h. |
|
Close the log. Close the log. Implemented in CArch, CArchLogUnix, and CArchLogWindows. Referenced by CArch::closeLog(). |
|
Open the log. Opens the log for writing. The log must be opened before being written to. Implemented in CArch, CArchLogUnix, and CArchLogWindows. Referenced by CArch::openLog(). |
|
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 Implemented in CArch, CArchLogUnix, and CArchLogWindows. Referenced by CArch::showLog(). |
|
Write to the log. Writes the given string to the log with the given level. Implemented in CArch, CArchLogUnix, and CArchLogWindows. Referenced by CArch::writeLog(). |