Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MSWindowsDebugOutputter Class Reference

Write log to debugger. More...

#include <MSWindowsDebugOutputter.h>

Inheritance diagram for MSWindowsDebugOutputter:
Collaboration diagram for MSWindowsDebugOutputter:

Public Member Functions

 MSWindowsDebugOutputter ()=default
 ~MSWindowsDebugOutputter () override=default
void open (const QString &title) override
 Open the outputter.
void close () override
 Close the outputter.
bool write (LogLevel level, const QString &message) override
 Write a message with level.
void flush ()
Public Member Functions inherited from ILogOutputter
virtual ~ILogOutputter ()=default

Detailed Description

Write log to debugger.

This outputter writes output to the debugger. In Visual Studio, this can be seen in the Output window.

Constructor & Destructor Documentation

◆ MSWindowsDebugOutputter()

MSWindowsDebugOutputter::MSWindowsDebugOutputter ( )
default

◆ ~MSWindowsDebugOutputter()

MSWindowsDebugOutputter::~MSWindowsDebugOutputter ( )
overridedefault

Member Function Documentation

◆ close()

void MSWindowsDebugOutputter::close ( )
overridevirtual

Close the outputter.

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

Implements ILogOutputter.

◆ flush()

void MSWindowsDebugOutputter::flush ( )

◆ open()

void MSWindowsDebugOutputter::open ( const QString & title)
overridevirtual

Open the outputter.

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

Implements ILogOutputter.

◆ write()

bool MSWindowsDebugOutputter::write ( LogLevel level,
const QString & message )
overridevirtual

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.

Implements ILogOutputter.


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