Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ILogOutputter.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
5 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include "base/Log.h"
12#include "base/LogLevel.h"
13
15
21{
22public:
23 virtual ~ILogOutputter() = default;
24
26
27
29
33 virtual void open(const QString &title) = 0;
34
36
40 virtual void close() = 0;
41
43
49 virtual bool write(LogLevel level, const QString &message) = 0;
50
52};
static int level
Definition ArchNetworkWinsock.cpp:31
LogLevel
Log levels.
Definition LogLevel.h:15
Outputter interface.
Definition ILogOutputter.h:21
virtual bool write(LogLevel level, const QString &message)=0
Write a message with level.
virtual void close()=0
Close the outputter.
virtual void open(const QString &title)=0
Open the outputter.
virtual ~ILogOutputter()=default