Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MSWindowsDebugOutputter.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2012 Nick Bolton
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "base/ILogOutputter.h"
11
13
18{
19public:
21 ~MSWindowsDebugOutputter() override = default;
22
23 // ILogOutputter overrides
24 void open(const QString &title) override;
25 void close() override;
26 bool write(LogLevel level, const QString &message) override;
27 void flush();
28};
static int level
Definition ArchNetworkWinsock.cpp:31
LogLevel
Log levels.
Definition LogLevel.h:15
Outputter interface.
Definition ILogOutputter.h:21
~MSWindowsDebugOutputter() override=default
void flush()
Definition MSWindowsDebugOutputter.cpp:32
void close() override
Close the outputter.
Definition MSWindowsDebugOutputter.cpp:20
void open(const QString &title) override
Open the outputter.
Definition MSWindowsDebugOutputter.cpp:15
bool write(LogLevel level, const QString &message) override
Write a message with level.
Definition MSWindowsDebugOutputter.cpp:25
MSWindowsDebugOutputter()=default