Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CArchLogUnix Class Reference

Unix implementation of IArchLog. More...

#include <CArchLogUnix.h>

Inherits IArchLog.

Inheritance diagram for CArchLogUnix:

Inheritance graph
[legend]
Collaboration diagram for CArchLogUnix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void openLog (const char *name)
 Open the log.
virtual void closeLog ()
 Close the log.
virtual void showLog (bool)
 Show the log.
virtual void writeLog (ELevel, const char *)
 Write to the log.

Detailed Description

Unix implementation of IArchLog.

Definition at line 23 of file CArchLogUnix.h.


Member Function Documentation

void CArchLogUnix::closeLog  )  [virtual]
 

Close the log.

Close the log.

Implements IArchLog.

Definition at line 39 of file CArchLogUnix.cpp.

void CArchLogUnix::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 33 of file CArchLogUnix.cpp.

void CArchLogUnix::showLog bool   )  [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 45 of file CArchLogUnix.cpp.

void CArchLogUnix::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 51 of file CArchLogUnix.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Nov 6 00:21:17 2009 for synergy-plus by  doxygen 1.3.9.1