Deskflow 1.22.0.197
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 char *title) override;
25 void close() override;
26 void show(bool showIfEmpty) override;
27 bool write(LogLevel level, const char *message) override;
28 void flush();
29};
static int level
Definition ArchNetworkWinsock.cpp:30
LogLevel
Log levels.
Definition LogLevel.h:15
Outputter interface.
Definition ILogOutputter.h:21
bool write(LogLevel level, const char *message) override
Write a message with level.
Definition MSWindowsDebugOutputter.cpp:29
~MSWindowsDebugOutputter() override=default
void show(bool showIfEmpty) override
Show the outputter.
Definition MSWindowsDebugOutputter.cpp:24
void flush()
Definition MSWindowsDebugOutputter.cpp:35
void open(const char *title) override
Open the outputter.
Definition MSWindowsDebugOutputter.cpp:14
void close() override
Close the outputter.
Definition MSWindowsDebugOutputter.cpp:19
MSWindowsDebugOutputter()=default