Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ArchLogWindows Class Reference

Win32 implementation of IArchLog. More...

#include <ArchLogWindows.h>

Inheritance diagram for ArchLogWindows:
Collaboration diagram for ArchLogWindows:

Public Member Functions

 ArchLogWindows ()
 ~ArchLogWindows () override=default
void openLog (const char *name) override
 Open the log.
void closeLog () override
 Close the log.
void showLog (bool showIfEmpty) override
 Show the log.
void writeLog (LogLevel, const char *) override
 Write to the log.
Public Member Functions inherited from IArchLog
Public Member Functions inherited from IInterface
virtual ~IInterface ()=default
 Interface destructor does nothing.

Detailed Description

Win32 implementation of IArchLog.

Constructor & Destructor Documentation

◆ ArchLogWindows()

ArchLogWindows::ArchLogWindows ( )

◆ ~ArchLogWindows()

ArchLogWindows::~ArchLogWindows ( )
overridedefault

Member Function Documentation

◆ closeLog()

void ArchLogWindows::closeLog ( )
overridevirtual

Close the log.

Close the log.

Implements IArchLog.

◆ openLog()

void ArchLogWindows::openLog ( const char * name)
overridevirtual

Open the log.

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

Implements IArchLog.

◆ showLog()

void ArchLogWindows::showLog ( bool showIfEmpty)
overridevirtual

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.

◆ writeLog()

void ArchLogWindows::writeLog ( LogLevel ,
const char *  )
overridevirtual

Write to the log.

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

Implements IArchLog.


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