Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IArchLog Class Referenceabstract

Interface for architecture dependent logging. More...

#include <IArchLog.h>

Inheritance diagram for IArchLog:
Collaboration diagram for IArchLog:

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 (LogLevel, const char *)=0
 Write to the log.
Public Member Functions inherited from IInterface
virtual ~IInterface ()=default
 Interface destructor does nothing.

Detailed Description

Interface for architecture dependent logging.

This interface defines the logging operations required by deskflow. Each architecture must implement this interface.

Member Function Documentation

◆ closeLog()

virtual void IArchLog::closeLog ( )
pure virtual

Close the log.

Close the log.

Implemented in ArchLogUnix, and ArchLogWindows.

◆ openLog()

virtual void IArchLog::openLog ( const char * name)
pure virtual

Open the log.

Opens the log for writing. The log must be opened before being written to.

Implemented in ArchLogUnix, and ArchLogWindows.

◆ showLog()

virtual void IArchLog::showLog ( bool showIfEmpty)
pure 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.

Implemented in ArchLogUnix, and ArchLogWindows.

◆ writeLog()

virtual void IArchLog::writeLog ( LogLevel ,
const char *  )
pure virtual

Write to the log.

Writes the given string to the log with the given level.

Implemented in ArchLogUnix, and ArchLogWindows.


The documentation for this class was generated from the following file: