Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ILogOutputter Class Referenceabstract

Outputter interface. More...

#include <ILogOutputter.h>

Inheritance diagram for ILogOutputter:

Public Member Functions

virtual ~ILogOutputter ()=default
manipulators
virtual void open (const QString &title)=0
 Open the outputter.
virtual void close ()=0
 Close the outputter.
virtual bool write (LogLevel level, const QString &message)=0
 Write a message with level.

Detailed Description

Outputter interface.

Type of outputter interface. The logger performs all output through outputters. ILogOutputter overrides must not call any log functions directly or indirectly.

Constructor & Destructor Documentation

◆ ~ILogOutputter()

virtual ILogOutputter::~ILogOutputter ( )
virtualdefault

Member Function Documentation

◆ close()

virtual void ILogOutputter::close ( )
pure virtual

Close the outputter.

Close the outputter. Calling this method on an already closed outputter must have no effect.

Implemented in ConsoleLogOutputter, FileLogOutputter, MSWindowsDebugOutputter, StopLogOutputter, and SystemLogOutputter.

◆ open()

virtual void ILogOutputter::open ( const QString & title)
pure virtual

Open the outputter.

Opens the outputter for writing. Calling this method on an already open outputter must have no effect.

Implemented in ConsoleLogOutputter, FileLogOutputter, MSWindowsDebugOutputter, StopLogOutputter, and SystemLogOutputter.

◆ write()

virtual bool ILogOutputter::write ( LogLevel level,
const QString & message )
pure virtual

Write a message with level.

Writes message, which has the given level, to a log. If this method returns true then Log will stop passing the message to all outputters in the outputter chain, otherwise it continues. Most implementations should return true.

Implemented in ConsoleLogOutputter, FileLogOutputter, MSWindowsDebugOutputter, StopLogOutputter, and SystemLogOutputter.


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